Hi there, I'm trying to write something that tries to use power as efficiently as possible.
The main idea is that the circuit will be in LPM4 most of the time, until a button is pressed. Once pressed, the button will start a timer, go into LPM3, and some led's will blink periodically (for a few seconds). Once thats done, it will just go back to LPM4 and wait for the button to be pressed again.
For simplicity, I'm just trying to get things working in LPM0 (I think I've got the switching modes worked out ok) on a Launchpad with the -2553 chip. I'm using Energia with the msp430-gcc too