mirror of
https://github.com/Crocmagnon/buzzer.git
synced 2024-12-26 16:01:49 +01:00
Update display interface
This commit is contained in:
parent
b5b53c3cef
commit
f24285ad5e
1 changed files with 7 additions and 1 deletions
|
@ -85,6 +85,10 @@ void onSelectFile(AsyncWebServerRequest *request)
|
|||
{
|
||||
selectedFile = request->getParam("fileName", true)->value();
|
||||
Serial.print(selectedFile);
|
||||
display.clearDisplay();
|
||||
display.setCursor(0, 0);
|
||||
display.println("Selectionne : "+ selectedFile);
|
||||
display.display();
|
||||
}
|
||||
Serial.println();
|
||||
onAvailableFiles(request);
|
||||
|
@ -183,7 +187,9 @@ void setup()
|
|||
server.begin();
|
||||
|
||||
Serial.println("Server ready!");
|
||||
display.println("Serveur pret !");
|
||||
display.clearDisplay();
|
||||
display.setCursor(0, 0);
|
||||
display.println("Pret !");
|
||||
display.display();
|
||||
|
||||
// Audio
|
||||
|
|
Loading…
Reference in a new issue