Assignment 2: Traffic Light

So for Assignment 2, I decided to make a traffic light type thing. It has four states: Red, yellow, green, and off. It automatically changes in the code because of the delay (look below)

Delay working video:


So once I got that working, I changed the loop() to get the leds changing according to a push button switch.





Leave a Reply