- Tue Mar 26, 2019 2:53 am
#81361
Hello celliott,
I have several NodeMCU V1.0 here (not exactly sure about the build) and I simply tried the same as you did. Using Arduino V1.8.8 too, I wasn't able to reproduce your problem. After erasing all flash contents the EEPROM still is working well!
Have you considered that the "EEPROM" is just a small file on the flash chip (where your code goes to) and if you erase it the whole flash your EEPROM is not initialized anymore, so you can't just use
Code: Select allEEPROM.begin(512);
byte value = EEPROM.read(0);
You need to write sensefull data first...
Or have you accidentally deleted the "EEPROM.begin" from your code?
How did you set the "tools"->"flash size" menu item?