Would this work for a loop? Use random(2,13) to generate an output pin, turn it on, then random(5000 or so) to wait, then random(2,13) again to turn one off, then another wait? Half the time the...
Type: Posts; User: NtheBasement
Would this work for a loop? Use random(2,13) to generate an output pin, turn it on, then random(5000 or so) to wait, then random(2,13) again to turn one off, then another wait? Half the time the...
jimbobones thanks for the update. No problem with the timing; I'm interested in learning how to program arduinos for my own nefarious purposes. The code makes sense standing by itself and is easy...
Can you label the pins something like Nred, Ngreen, Nyellow etc. Then it could look something like
digitalWrite(Wyellow, LOW);
Otherwise I'm having a hard time figuring out whats what in the...