Re: SPIFFS file read and write example
Posted: Sat Sep 09, 2017 8:08 am
Thanks for the example. Setting out to do the same thing this morning. (learns spiffs so I can tie it in with the Async server code without using SD)
-->
Open Community Forum for ESP8266, Come share Arduino and IoT (Internet of Things)
https://www.esp8266.com/
bool result=SPIFFS.begin();
Serial.print("Spiffs formatted? "); Serial.println(result?"YES":"NO");
if (!result) { // not formatted
SPIFFS.format();
}