Question: Write an Arduino Program using interrupts for a two-way intersection traffic controller. The system will have 2 push buttons and 6 LEDS. If the first
Write an Arduino Program using interrupts for a two-way intersection traffic controller. The system will have 2 push buttons and 6 LEDS. If the first pushbutton is pressed all the red lights turn on while all other lights turn off. If the second pushbutton is pressed the traffic light returns to its normal operation. The circuit is shown below

+ - a b c d e f g h i j + - TX RX - AREF GND -11 I ARDUINO POWER (UNO DIGITAL (PWM-) ANALOG IN 2 . DE .. - a b c d e f g h i j + F + - a b c d e f g h i j + - TX RX - AREF GND -11 I ARDUINO POWER (UNO DIGITAL (PWM-) ANALOG IN 2 . DE .. - a b c d e f g h i j + F
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
