Hi,
I am currently working on a little project with an arduino between an android tablet and a s7-300 plc (not really useful for my question but people could be interested). I have a while loop running in the void loop and an interrupt of 1hz timer which reset the arduino board.
My problem is that i must use a data from the interrupt after the reset.
I tried to use a PROGMEM prog_uchar inside my interrupt to keep it but since i must declare the progmem in the setup it always erase what i had in my interrupt.
Is there any way to keep a int after a reset ? Is the problem coming from the use of an interrupt ? I tried with eeprom too but maybe i did something wrong, it did not work.