I have a arduino uno
hello I am new to programing but I hoped that someone would be happy to wolp up some simple code for me or point me in the right spot.
I want to have 4 leds and a switch,
I want the first LED to turn on when the switch is push, (and stay on untill the 2nd LED comes on)
then when the switch is push again I want the first LED to go off and the 2nd LED to turn on,
then when the switch is push again I want the 2nd LED to go off and the 3rd LED to come on,
then when the switch is push again I want the 3rd LED to go off and the 4th LED to come on,
LOOP
then when the switch is push again I want the 4th LED to go off and the 1st LED to come on.
ect,ect,
switch.pptx (46.3 KB)