/arduino

Fun Arduino Projects

Primary LanguageArduino

arduino

Fun Arduino Projects!

Traffic Light

A simple traffic light using 2 LEDs and 2 Push Buttons. The push buttons toggle between two modes: Manual and Automatic.

  • Automatic uses a random delay to switch between lights
  • Manual toggles lights on push

This project is in two parts:

Make sure to either map the LEDs and Push Buttons according to the pins used in the script or update the variables to reflect your setup.