I am trying to figure out how to play a button game thing. I have a dozen LED buttons (4 leads, 2 for LED, 2 for push button). What I want is for the system to randomly light up one of the LEDs, then have the arduino wait until that button is pressed. Once it is pressed, a new random LED lights, and the process continues. I want to see how many buttons can be pressed in 30 seconds.
I've spent the last few ours trying to solve it, but all i can figure out is to do 1 button, everytime I try to have two I get it mixed up