Assignment
Traffic light simulation
Traffic light simulation
Completion requirements
View
Make a submission
Receive a grade
Design a circuit to simulate traffic lights. Use as output one red, one yellow and one green LED.
The LEDs should light up according to the following:
- The green LED should turn ON for 5 seconds.
- Consecutively, the yellow LED should turn ON for 1 second.
- Finally, the red LED should turn on for 3 seconds.
Submit your sketch as an .ino file and -optionally- a circuit schematic.