Question: code on code composer studio using msp430 assembly on assembly-only project Your program should start with both LEDs off (i.e., not emitting light), and wait
Your program should start with both LEDs off (i.e., not emitting light), and wait for a push button to be pressed. When either push button is pressed, an interrupt should be triggered on the raising edge. A single interrupt routine serves the interrupts and accomplishes following task: - Pressing S1 toggles the green LED - Pressing S2 toggles the red LED Toggling an LED means the following: if the LED is off, it is tumed on; alternatively, if the LED is on, it is turned off. Your program should let you press the buttons as many times as you want, and in any order, and exhibit correct behavior
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
