diff --git a/src/main.cpp b/src/main.cpp index 42b55ed..357d473 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -7,33 +7,21 @@ #define ANALOG_READ_PIN A0 //GPIO 5 #include - int sensorValue = 0; int letzteWerte[100]; int niedrigsterWert = 1024; int idWert = 0; - // IP Addresse wie bei der Feuerwehr! IPAddress apIP(192, 168, 112, 1); - - - -/// Brauchen wir bald nicht mehr -int pushButton = D8; -int lastbuttonstate = 0; - - - - int auftrittmillis = 0; int abtrittmillis = 0; + int auftrittzeiten[20]; int kontaktzeiten[20]; - int idx = 0; String websiteA = "Sensor" @@ -45,7 +33,7 @@ String websiteB = "