Closed galed3e3 closed 3 years ago
Never mind. Same problem with this little program, so not a Little FS issue.
void setup() {
Serial.begin(115200);
//delay(500); // needed to see the following
Serial.println("starting...");
}
void loop() {
}
Adafruit ESP32 Feather Arduino IDE v. 1.8.13 ESP core v. 1.0.5 from Arduino Board Manager LittleFS_esp32 v. 1.0.5 from Arduino Library Manager
If there is no delay after Serial.begin, then some of the prints do not show up on the serial monitor.
For example, with two files in LittleFS and no delay, sometimes I get this:
and sometimes this:
But with a delay(500), I get this, as expected:
The code: