Hi,
I was doing Arduino for 2 week for now and now I've got a problem. I could easily google it, but I have no idea how should I call it and Google offers no help.
So, this is what I want: I have 3 LEDs, connected to digital pins, potentiometer on Analog 2, and pushbutton on 7 digital. And I want to do that pushbutton have function of changing different programs of these LEDs. So, for example; first program'd be all LEDs blinking and speed is controlled with potentio, program two leds different fading etc. There is no problem about those little programs, I can write them, but what about that pushbutton changes me between them. Let's say when you on your Arduino first program is on, if you press pushbutton it goes to second program etc. Any suggestions?
Thanks