Werte in korrekter Reihenfolge ausgegeben

This commit is contained in:
Christoph Sterz 2024-10-03 21:18:36 +02:00
parent bd25950be3
commit 7076dddda3
1 changed files with 2 additions and 2 deletions

View File

@ -48,8 +48,8 @@ const int led = 13;
void handleRoot() {
String liste;
for(int i = 0; i < 100; i++) {
liste = liste + letzteWerte[i] + "\r\n";
for(int i = idWert; i < idWert + 100; i++) {
liste = liste + letzteWerte[i % 100] + "\r\n";
}
server.send(200, "text/html", websiteA + liste + websiteB);
}