Help with code for fade loop

The TIP120 will drop a lot of voltage across which doesn't leave much for your light bulb.

Those bulbs don't draw a lot of current so a single transistor should work.