Raspberry Pi Traffic Lights Project
1 2
Pin 6
Pin 7
Pin 11
Pin 13
Traffic Lights
Connector Block
A. Davis issue 1.0 21.02.2016
Raspberry Pi Traffic Lights Project
Algorithm
1. Set all light to off
2. Make red LED light for 2 seconds
3. Make the Yellow LED light for 2 seconds
4. 4. Turn off the red and yellow LEDs and turn on the Green LED for 2 seconds.
5. Repeat 4 times.
x4
1. 2. 3. 4.
A. Davis issue 1.0 21.02.2016
Raspberry Pi Traffic Lights Project
Solution
A. Davis issue 1.0 21.02.2016