[SOLVED] Program that has 2 LEDs and 2 Pushbuttons

15.00 $

Categories: ,
Click Category Button to View Your Next Assignment | Homework

You will receive the following solution file(s) instantly after successful payment:

c file icon LED.c (0.9 KB)
Assignment Instructions Updated Recently? Submit Below and we will provide new Solution!
Submit New Instructions
🔒 Securely Powered by:
Secure Checkout
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.

  • LED.c