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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started