mirror of
https://github.com/Crocmagnon/buzzer.git
synced 2024-11-24 17:08:04 +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();
|
selectedFile = request->getParam("fileName", true)->value();
|
||||||
Serial.print(selectedFile);
|
Serial.print(selectedFile);
|
||||||
|
display.clearDisplay();
|
||||||
|
display.setCursor(0, 0);
|
||||||
|
display.println("Selectionne : "+ selectedFile);
|
||||||
|
display.display();
|
||||||
}
|
}
|
||||||
Serial.println();
|
Serial.println();
|
||||||
onAvailableFiles(request);
|
onAvailableFiles(request);
|
||||||
|
@ -183,7 +187,9 @@ void setup()
|
||||||
server.begin();
|
server.begin();
|
||||||
|
|
||||||
Serial.println("Server ready!");
|
Serial.println("Server ready!");
|
||||||
display.println("Serveur pret !");
|
display.clearDisplay();
|
||||||
|
display.setCursor(0, 0);
|
||||||
|
display.println("Pret !");
|
||||||
display.display();
|
display.display();
|
||||||
|
|
||||||
// Audio
|
// Audio
|
||||||
|
|
Loading…
Reference in a new issue