Question: Assume an MSP430 microcontroller is connected to a button and two LEDs as shown in Figure 1. Always one of the LEDs is blinking every

Assume an MSP430 microcontroller is connected to a button and two LEDs as shown in Figure 1. Always one of the LEDs is blinking every one second while the other one is off; whenever the button is pressed, the blinking LED should stop and the other LED should start blinking every one second. At the beginning the LED connected to pin 0 is blinking and the other LED is off. Write the C code to perform this function using interrupt
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
