Which EEPROM am I using?
Posted: Wed May 06, 2020 10:39 pm
I've wired up an ESP8266 (WeMos Mini) and have been making use of the module's "built in" EEPROM, programming it as if it were an Arduino.
The docs are unclear on how this magic works, as there isn't an actual EEPROM chip anywhere, but it works. Write to EEPROM, remove power, data is retained.
Later, I added an DS3231 RTC with an actual 24C32 EEPROM (the cheap module found everywhere).
My question is, when I use EEPROM.read (or .write or .get or .put), which EEPROM am I using?
I'd LIKE to use both, as there's two versions of the project, one with RTC and one without. Both versions of the project store ESP8266 initialization data, but only the version with the RTC module stores RTC data.
Is this possible? Can I use both? Any clues gratefully accepted.
Thanks in advance.
Alan
The docs are unclear on how this magic works, as there isn't an actual EEPROM chip anywhere, but it works. Write to EEPROM, remove power, data is retained.
Later, I added an DS3231 RTC with an actual 24C32 EEPROM (the cheap module found everywhere).
My question is, when I use EEPROM.read (or .write or .get or .put), which EEPROM am I using?
I'd LIKE to use both, as there's two versions of the project, one with RTC and one without. Both versions of the project store ESP8266 initialization data, but only the version with the RTC module stores RTC data.
Is this possible? Can I use both? Any clues gratefully accepted.
Thanks in advance.
Alan