mirror of
https://github.com/s00500/ESPUI.git
synced 2024-11-23 21:10:53 +00:00
Add a little more feedback to the user and make it list the files.
This commit is contained in:
parent
e3eea09e43
commit
004a374d79
@ -3,7 +3,12 @@
|
|||||||
void setup(void)
|
void setup(void)
|
||||||
{
|
{
|
||||||
Serial.begin(115200);
|
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()
|
void loop()
|
||||||
|
Loading…
Reference in New Issue
Block a user