Inspiration
Traffic Light System
What it does
- All the pins have to be set as OUTPUT at the beginning of the sketch
- The green LED (on pin 4) is switched on for 3 seconds (green LED will be the first to light up) then it is switched off
- When the green LED is switched off, orange LED is switched on for 1 second then it is switched off again
- When the orange LED is switched off, red LED is switched on for 3 seconds then it is switched off again
- These instructions must run again and again in the loop()!
How we built it
Using Autodesk Tinkercad
What we learned
About Ardiuno , Tinkercad.


Log in or sign up for Devpost to join the conversation.