diff --git a/src/main.cpp b/src/main.cpp index 9e0a8ba..5d6b2fb 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -42,7 +42,7 @@ const int output26 = 26; const int output25 = 25; // Input const int input36 = 36; -const int input39 = 16; +const int input16 = 16; // restart automatisch boolean auto1 = true; @@ -97,7 +97,7 @@ void setHtml(){ else { htmltext += "

"; } - if (digitalRead(input39)== HIGH){ + if (digitalRead(input16)== HIGH){ htmltext += "

Server 2 ist online

"; } else { htmltext += "

Server 2 ist offline

"; @@ -240,7 +240,7 @@ void setup() { // SVP server 1 pinMode(input36, INPUT); // SVN server 2 - pinMode(input39, INPUT); + pinMode(input16, INPUT); display.init(); //display.flipScreenVertically(); @@ -283,7 +283,7 @@ void loop() { } } } - if ((auto2 == true) && (digitalRead(input39)== LOW)){ + if ((auto2 == true) && (digitalRead(input16)== LOW)){ if (auto2start== true){ digitalWrite(output26, HIGH); delay(200);