I'm using the Launchpad to program a simple program that takes on some values and saves them for later use. I'm using the MSP430 launchpad. I'm using energia for programming the launchpad. It has a Free example for writing to flash. I modified the example to my needs. And i encounterd a problem that is i can only write chars in it not integers. This is the code line for writing" Flash.write(flash, (unsigned char*) "Hello World!" ,13);" And if i exchange the "Hello world!" with an int that is defined i have no compiler errors, but i can't see that int. How can i write the integer using this example (example and my program attached) Thanks upfront.
MspFlash.cpp.txt 2.34KB
1 downloads
MspFlash.h.txt 4.21KB
0 downloads
thecode.txt 2.24KB
0 downloads
↧
MSP430G2553 Flash write.
↧