-->
Page 1 of 1

Storage value or string and keep it back after reset

PostPosted: Mon Feb 08, 2016 9:26 am
by Stévanovich
Hello,
I'm a new noob esp8266 esp-07 user .
i don't use LUA
I woul'd like to know if there is any kind of solution to store value (integer or string) ?
I woul'd like to get it back after reboot (reset).

thanks for link or exemple (simple example :mrgreen: )



Best regards

Re: Storage value or string and keep it back after reset

PostPosted: Wed Feb 10, 2016 6:45 pm
by Andrew Grande
Basically 3 ways to store it within esp8266 itself:
* EEPROM - can be a bit low-level, DIY-style
* RTC memory - slightly higher level, but dev UX is similar to EEPROM
* Save into a file on SPIFFS - internal file system emulation

All of the above have been nicely covered both in these forums (search!) and in standard arduino examples on esp8266 github.

Good luck!

Re: Storage value or string and keep it back after reset

PostPosted: Tue Feb 23, 2016 12:50 pm
by Stévanovich
Hello,
Thanks for reply , very helpfull.
I use EEPROM, more userfriendly for me :mrgreen:
I will have a look to RTC memory ... later .

Best regards.