I like Energia, particularly that it gives me a working mspgcc on the Mac - but the Arduino style of coding (setup + loop) seems incongruous in relation to the MSP430 chip - I'd prefer to be using sleeping and interrupts.   So... Is it OK to just change the main.cpp so it doesn't loop?     In the above code (presuming it gists properly) I mean take out the loop.   edit: ok so gist doesn't work?      #include <Energia.h> int main(void) {   init();   setup();   for (; ;-) {