Question: Write the code to turn on and off the LED according to the requirements Launchpad. Write a program that will turn on the LED when
Launchpad. Write a program that will turn on the LED when the pushbutton is pressed, and turn off the LED when it is not. Use bit masking to write/read registers. This code will be very similar to the required code in lab 1 but this solution requires you to use the pull up/pull down resistors internal to the MSP432. Don't forget to ground the protoboard to the TI Launchpad! Submit the C program. HINT: PXREN, PXIN, PXOUT P3.2 TI Launchpad P3.3 u GND 22 k 2
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
