I am trying to store data permanently in ESP8266. I found out two ways of doing so i.e. Writing in EEPROM or storing a txt file to the ESP and reading the data later on from it.I am using Arduino 1.6.7 along with esp8266. What is the best way to write persistent data to ESP8266 and an example to execute it?
For EEPROM you can checkout the EEPROM library https://github.com/esp8266/Arduino/tree/master/libraries/EEPROM There are examples on how to read/write data.
Thanks Subodh....it helped.....
There is a good way of storing and retrieving data from the EEPROM:
The link contains good example of stroing in EEPROM...
Most helpful comment
Thanks Subodh....it helped.....
There is a good way of storing and retrieving data from the EEPROM:
Link->
https://github.com/esp8266/Arduino/blob/342c4ae6fb847bfc787f80b89a2bb888d942dc32/libraries/DNSServer/examples/CaptivePortalAdvanced/credentials.ino
The link contains good example of stroing in EEPROM...