Arduino code help Answered
To the Instructables members,
I'm trying to write a program that uses a pushbutton (momentary) to turn on and off LEDs. I have two LEDs and one button. Basically, I want to be able to push the button to switch LEDs. One push - one LED turns on - another push - the second LED turns on - another push - the first LED turns on - and so on. Anyone know how to do that? I'm sure there's a simple solution that I've missed. Any aid would be awesome.