Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By martinayotte
#25825 Yes ! IGRR suggestion looks very nice !
Otherwise, you will have to design a C++ object that can serialize itself into/from the EEPROM, taking in account of the possible variable lengths of its members and their memory allocations.
Since ConfigFile that IGRR mentioned already exist, why re-inventing the wheel ... ;)
User avatar
By Mmiscool
#25837 Where can i find this FS.h library?
User avatar
By igrr
#25838 It's not a library, it's a part of the core.
You may find it's source here: https://github.com/esp8266/Arduino/blob ... p8266/FS.h

And some reference here:
http://arduino.esp8266.com/versions/1.6 ... ile-system

Make sure you are using the most recent version of the core (staging version 1.6.5-1044-g170995a)
User avatar
By Mmiscool
#25853 I added the fs.h file to mt project but it won't compile.

keeps erroring out with thre following

Code: Select allIn file included from ESP8266_BASIC_INTERPERTERv2.ino:8:0:
fs.h:117: error: 'FS' does not name a type
 extern FS SPIFFS;
        ^
'FS' does not name a type



Any thoughts?