Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 591 Bytes

File metadata and controls

24 lines (17 loc) · 591 Bytes

Traffic_light_with_button_and_indicator_light

Traffic Light system using Arduino

/* Traffic Lights

Runs a UK traffic light sequence. See Constants for light pin numbers.

The circuit:

  • RED LED attached from pin 9 to ground

  • Green LED attached from pin 10 to ground

  • RED LED attached from pin 11 to ground

  • RED LED attached from pin 3 to ground

  • Yellow LED attached from pin 4 to ground

  • Green LED attached from pin 5 to ground

  • pushbutton attached to pin 2 from +3.3V

  • 10K resistor attached to pin 2 from ground

created 2018 by Stephen McBain */