I am using Energia to program MSP430G2553 chip in a BristleBot circuit and I would like to store data in the nonvolatile memory, so next time I turn it on it remembers the inputs. How do I define this in Energia? I couldn't find reference on their website. Thank you!
You don't need to use the Energia libraries all the time; you can access the registers of the flash controller directly.
But Energia also ships with the
MspFlash library, which appears to be undocumented. Look at the example code.