I am new to all of this. I got the board from a classmate.
I am trying to store accelerometer data in the flash during an experiment. Then, retrieve it when I plug the board into the computer via the USB. I am struggling to completely understand the Flash Programming Manual and the Flash examples in Atollic.
1. What line(s) of code will write a specific number value from the accelerometer to the flash?
2. How do I have it write to the next slot (page?), since the code runs in a loop?
3. How would I retrieve the data?