Probably you can resolve just writing the value on a file in /mnt/flash folder that is on non volatile memory using the C standard file I/O functions.
As like as any flash memory you have to take care about the max number of re-writing cycle (about one milion). Sergio cchechio wrote: > > I need a register to count the peaks of a wave quadrant, > and don't want to lose the value of this register if there is a > black out. > > Can You help me ?
