Inspiration

Traffic Light System

What it does

  1. All the pins have to be set as OUTPUT at the beginning of the sketch
  2. 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
  3. When the green LED is switched off, orange LED is switched on for 1 second then it is switched off again
  4. When the orange LED is switched off, red LED is switched on for 3 seconds then it is switched off again
  5. These instructions must run again and again in the loop()!

How we built it

Using Autodesk Tinkercad

What we learned

About Ardiuno , Tinkercad.

Built With

Share this project:

Updates