#include <msp430f5529.h>
void main(void)
{
P1DIR |= 0x01; // Set P1.0 to output - SET BREAKPOINT HERE
P1OUT ^= 0x01; // Toggle P1.0
__bis_SR_register(LPM4_bits + GIE); // Enter LPM4, Stop all clocks
__no_operation(); // For debugger
}
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
#include <msp430f5529.h>
void main(void)
{
P1DIR |= 0x01; // Set P1.0 to output - SET BREAKPOINT HERE
P1OUT ^= 0x01; // Toggle P1.0
__bis_SR_register(LPM4_bits + GIE); // Enter LPM4, Stop all clocks
__no_operation(); // For debugger
}