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 */