Question: Design a pedestrian traffic controller system using switch as input and 3 LEDs ( Red + Green + Yellow ) as traffic light indicator. Upon
Design a pedestrian traffic controller system using switch as input and LEDs RedGreenYellow as traffic light indicator. Upon pressing the switch, the Yellow LED will light on for second then turn OFF. After that the Red LED will turn ON for sec before turning OFF. Lastly, the Green LED will turn on until the switch is pressed again. The LED pattern will be repeated every time the switch is pressed. Draw the flowchart for your program first before start writing the code.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
