after pressing Reset (Mega2560), I need an old value in an int. But after Reset, the system overwrites the int with value 0 .
What is to do at definition time to tell the compiler not to write into this int?
Warm start is after pressing reset,
Cold start is after power off (voltage free hardware).
I need to see the difference between both at runntime.
Thank you for help!