Traffic Light and Pedestrian Light set for Aeduino with Push Button Control.

When push button is pressed following will happen in this sequence :

  1. the green LED of Traffic Light will turn off
  2. yellow LED of Traffic Light will turn on for 2 seconds
  3. Red LED of Traffic Light will go to ON
  4. Green LED of Pedestrian Light will turn on
  5. After 4 seconds the green LED of Pedestrian Light will be flashing for 5 seconds and turn off
  6. Red LED of Pedestrian Light will be on, red LED of Traffic Light will off, green LED of Traffic Light will be on.