It ' s coltssteelers . Steelers are giving the colts a beatdown <| sep |> Well that took an unexpected twist . <| sep |> Actually that ' s very convenient . Just support their opinions for bonus points with them . <| sep |> Yes if you really need 45 runes until you can GB 10 . <| sep |> I found this code from i s p o s s i b l e t o c o n t r o l b r i g h t n e s s o f a n l e d s t ripconnectedusingarelayan const int brightnessUp 10 the number of the pushbutton pin const int brightnessDown 9 the number of the pushbutton pin const int ledPin 13 the number of the LED pin const int maxBrightness 12 this can be any number it ' s the number of steps between dimmest and brightest . variables will change int brightness maxBrightness int interval 1 void setup initialize the LED pin as an output pinModeledPin , OUTPUT initialize the pushbutton pins as an input pinModebrightnessUp , INPUT pinModebrightnessDown , INPUT Serial . begin 9600 void loop if digitalReadbrightnessUp HIGH brightness maxBrightness brightness brightness interval if the brightness Up button is pushed , add one degree of brightness to the current level Serial . printlnbrightness for debugging purposes if digitalReadbrightnessDown HIGH brightness 0 brightness brightness interval if the brightness Down button is pushed , subtract one degree of brightness from the current level Serial . printlnbrightness for debugging purposes delay 100 analogWriteledPin , mapbrightness , 0 , maxBrightness , 0 , 255 this code maps the max brightness constant to the max LED brightness It works well when testing just a single LED , and happy to try and move it over to an nchannel mosfet circuit , but I have one small problemWhen starting the LED is already on . What do I need to add to start the loop with the LEDsignal off at 0 ?