[SOLVED] Program that has 2 LEDs and 2 Pushbuttons

15.00 $

Categories: ,

Description

5/5 - (1 vote)
Using C programming language write a program that has 2 LEDs and 2 Pushbuttons.

When Pushbutton 1 is pressed ON. ONLY LED 2 is turned ON….

AS LONG AS Pushbutton 1 is ON. if Pushbutton 2 is pressed ON LED 2 will flash.

BUT when Pushbutton 1 is Pressed off. LED 1 will turn ON and LED 2 will turn OFF.