diff --git a/src/main.cpp b/src/main.cpp index 2d064df..1031d08 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -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); }