Example sketches for the new Arduino IDE for ESP8266

Moderator: igrr

User avatar
By heweb
#69833 Thank you for this example!

I am experimenting with this sketch.

To test, if Spiffs is formatted i use:

Code: Select allbool result=SPIFFS.begin();
Serial.print("Spiffs formatted?  ");  Serial.println(result?"YES":"NO");
if (!result) { // not formatted
  SPIFFS.format();
}


Could anybody tell me, how much space i have for this? (wemos D1 retired)
User avatar
By RIN67630
#74646 Thank you for your example.
The formatting took ~8 minutes in a 16MB file system.
I lost a few hours trying to find out why my ESP seemed to crash.
Please mention the long time in your comment.