Re: EEPROM put and get methods

biobier wrote:Not sure what you mean! All what is stated in the doc is taken care in the code posted by me.
Shame on me, you're right, my apologies !!
Will have a BETTER look at your code and see if I can help.
-->
Open Community Forum for ESP8266, Come share Arduino and IoT (Internet of Things)
https://www.esp8266.com/
biobier wrote:Not sure what you mean! All what is stated in the doc is taken care in the code posted by me.
include <EEPROM.h>
void setup()
{
Serial.begin(115200);
EEPROM.begin(512);
// write a 0 to all 512 bytes of the EEPROM
int i=0;
byte data=0;
while(i<512){
EEPROM.put(i, data);
i++;
yield();
Serial.println(i);
}
// turn the LED on when we're done
Serial.println("Done!");
digitalWrite(13, HIGH);
EEPROM.end();
}
void loop()
{
}