got a newbie programming question. I'm quite familiar with Maxmsp and all i would like to achieve with programming arduino is this.
I have say 5 different 'presets' or say '5 different sequences' of led blinking. Everything a trigger is send from a sensor, it does a random of 0 - 4 and chooses just 1 number, say sequence 2. After Sequence 2 is over, and when another trigger is receive, it does the random function again.
how can i achieve this with arduino programming? what kind of statements would I use?