Timeline for How to read and write EEPROM in ESP8266
Current License: CC BY-SA 4.0
13 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jun 28 at 23:52 | vote | accept | MICRO | ||
| Jun 21, 2019 at 19:29 | comment | added | Ameer | What I have learnt practically is that EEPROM.commit() is absolutely necessary, at least on esp8266, in order for the EEPROM data to survive a reboot. | |
| Oct 29, 2018 at 8:15 | comment | added | Juraj♦ | from reference "EEPROM.write does not write to flash immediately, instead you must call EEPROM.commit() whenever you wish to save changes to flash. EEPROM.end() will also commit, and will release the RAM copy of EEPROM contents." | |
| Oct 29, 2018 at 0:19 | history | edited | codechimp | CC BY-SA 4.0 |
belated update to code comment for more clarity on action per request
|
| Oct 29, 2018 at 0:17 | comment | added | codechimp | @WhiskerBiscuit, are you seeing ANY output in serial console? are you sure baud rate is set correctly? i don't have v3, just v0.9, so can't help if this is a forwards compatibility problem. | |
| Oct 29, 2018 at 0:14 | history | edited | codechimp | CC BY-SA 4.0 |
belated update to code comment for more clarity on action per request
|
| Oct 27, 2018 at 18:15 | comment | added | WhiskerBiscuit | I did a copy/paste of this exact code for a NodeMCU v3 and it's not retrieving the written value after a power cycle (I commented out the "write portion for the second run"). | |
| Jul 13, 2018 at 10:00 | comment | added | Bim | The actual Arduino documentation is really lacking here and the sources do not really help either. Is EEPROM.end() still needed? Why is begin(512) needed? Plus a get()/put() combination or using update() would help to prevent EEPROM wear. Maybe you could update the answer. | |
| May 9, 2018 at 15:12 | comment | added | nonozor | you have saved my day, I was searching for more than five hours for a solution and you have gave it ! | |
| S Jan 5, 2018 at 20:00 | history | suggested | gre_gor | CC BY-SA 3.0 |
formatting, syntax highlighting
|
| Jan 5, 2018 at 19:51 | review | Suggested edits | |||
| S Jan 5, 2018 at 20:00 | |||||
| Dec 18, 2017 at 19:47 | review | First posts | |||
| Dec 18, 2017 at 19:51 | |||||
| Dec 18, 2017 at 19:47 | history | answered | codechimp | CC BY-SA 3.0 |