Re: SPIFFS file read and write example
![Post Post](./styles/FLATBOOTS/imageset/icon_post_target.gif)
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();
}