Skip to content

Commit

Permalink
Add a little more feedback to the user and make it list the files.
Browse files Browse the repository at this point in the history
  • Loading branch information
ncmreynolds committed Oct 13, 2022
1 parent e3eea09 commit 004a374
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion examples/prepareFilesystem/prepareFilesystem.ino
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@
void setup(void)
{
Serial.begin(115200);
ESPUI.prepareFileSystem();
ESPUI.setVerbosity(Verbosity::Verbose); //Enable verbose output so you see the files in LittleFS
delay(500); //Delay to allow Serial Monitor to start after a reset
Serial.println(F("\nPreparing filesystem with ESPUI resources"));
ESPUI.prepareFileSystem(); //Copy across current version of ESPUI resources
Serial.println(F("Done, files..."));
ESPUI.list(); //List all files on LittleFS, for info
}

void loop()
Expand Down

0 comments on commit 004a374

Please sign in to comment.