I'd like to set multiple LEDs to blink randomly and concurrently, but prevent the situation where all LEDs are on at the same time.
The code I'm using to control the random blinking is as follows:
I think it has something to do with Arrays and if-statements, but I'm getting turned around. I'm still quite new and coding and Arduino in general, so any help would be appreciated.
Henry_Best:
Concurrently MEANS all at the same time. If you can't precisely describe what you want, how are we to know?
Thanks for pointing that out, Henry_Best! Are you asking for clarification or is your intention to point out my lack of clarity? In case it's the former, let me try it again:
I would like a set of LEDs to randomly turn on and off.