Question: (One-way Traffic light)- Develop a python program that runs on PI board and simulate the one-way traffic light. This requires that cases: Green LED turns
(One-way Traffic light)- Develop a python program that runs on PI board and simulate the one-way traffic light. This requires that cases:
Green LED turns on for 5 seconds while the yellow and red LED are off.
Yellow LED turns on for 1 second while the red and green LED are off.
Red LED turns on for 5 seconds while the yellow and green LEDs are off.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
