Question: In assembly language write a program for the MSP430 with the following specifications: When the push button (connected to P1.3 on the MSP430 Lauchpad) is
In assembly language write a program for the MSP430 with the following specifications: When the push button (connected to P1.3 on the MSP430 Lauchpad) is pressed, the red LED (connected to P1.0 on the MSP430 Launchpad) will turn on and wait for a certain time. Then, both the red and green LEDs (connected to P1.0 and P1.6 on the MSP430 LaunchPad) will turn on and wait for a certain time. Afterwards, the red LED (connected to P1.0 on the MSP430 LaunchPad) will turn off and the green LED (connected to P1.6) will turn on and wait for a certain time. Finally, both LEDs will turn off. This procedure is repeated indefinitely.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
