Question: Switches control LED2. 1. Create a new project Lab6a. Copy in your code from Lab 5 that blinked LED1 based on Timer A. Add to
Switches control LED2. 1. Create a new project Lab6a. Copy in your code from Lab 5 that blinked LED1 based on Timer A. Add to your program by making LED2 illuminate whenever either the left button (S1) or right button (S2) is pressed. LED2 should stay on only as long as the button remains pressed.
this is lab 5:
#include
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
