Home › Forums › Mayfly Data Logger › Reading from EEPROM error in code › Reply To: Reading from EEPROM error in code
2021-03-03 at 1:01 PM
#15191
In case its of interest, I’m using the EEPROMClass from EEPROM.h
\.platformio\packages\framework-arduino-avr\libraries\EEPROM\src
EEPROM.put(EP_PERSISTENT_STORE_ADDR, epc.app); where epc.app is a typedef containing all the values to be stored/read from persistent EEPROM.
and similarly
EEPROM.get(EP_PERSISTENT_STORE_ADDR, epc.app);