n-able-Arduino icon indicating copy to clipboard operation
n-able-Arduino copied to clipboard

EEPROM does not read values after restart from Interrupt

Open j45p41 opened this issue 1 year ago • 1 comments
trafficstars

Hi,

asking this here first as it is part of the library but I know its more of a platform issue.

I store several values in EEPROM, sometimes after a restart the values are read but set as 0. Then after a subsequent restart the values are back again.

To put:

EEPROM.begin();
EEPROM.put(0, value);

To get:

EEPROM.begin();
EEPROM.get(0, value);

I am wondering if the library may require an update from original branch (which I am unsure how to do) or if this is a know bug. If you can help on either then that will appreciated.

j45p41 avatar Mar 18 '24 16:03 j45p41

Hi @j45p41 I don't know of any bugs related to this. If you try the EEPROM example do you have the same result?

h2zero avatar Mar 18 '24 17:03 h2zero