Thans to all!
@@oPossum using a pointer in ram, well, it will be lost after a power off and I think power off the device
About use a FRAM MSP430s, I think my launchad don't support these (anyway I don't have money for the moment, but I will consider it in the future)
@@hmjswt Do you know if a external EEPROM can be used with a MSP430G2553?
EDIT: ohhhhh , yeah, thanks for the link!
Good point! After a erase, the segments will have all 1's, AND probably I will log 10 bits values in two bytes (the analog to digital converter have 10 bits)
I think something like that:
//called in