LED0
LED1
is on,
after 2 seconds only LED2
is on, etc.)RESET
is pressed, restarts the cycle, turning
LED0
on and all others off
We need two switches and three LEDs. For the switches, we can use either DIP switches, or push-buttons. The following schematic uses DIP switches.
Fritzing schematic: apsc160_rotateLEDs.fzzComponent | Count |
---|---|
Full Size Breadboard | 1 |
Tactile Switch | 1 |
LEDs (5 mm Round, Various) | 6 |
220 Ohm Resistor | 6 |
10 kOhm Resistor | 1 |