So you're a Noob? Post your questions here until you graduate! Don't be shy.

User avatar
By wanek
#60657 hello!

how can i prevent the eeprom being erased every time i upload a new sketch on a wemos d1 mini pro? i store lots of values in eeprom, and it should remain untouched between firmware uploads. i use arduino ide + windoze.

thank you!
User avatar
By t_andersen
#60700 I have been wondering about this myself but I suspect that it is not possible to keep the values. According to information on the internet there is no real EEPROM in the 8266, so EEPROM is simply emulated by the Arduino IDE and stored in the flash memory instead. If that is the case, then the location in memory is likely to change with every new compilation of the program. Maybe someone more knowledgeable can comment?