diff --git a/src/Temperature.h b/src/Temperature.h index 4c375d6..a657a87 100644 --- a/src/Temperature.h +++ b/src/Temperature.h @@ -9,7 +9,7 @@ class Temperature { public: - Temperature() : dht(4, DHT22){}; + Temperature() : dht(2, DHT22){}; /** * initialize the temperature sensor diff --git a/src/main.cpp b/src/main.cpp index 0b12269..5fc28f6 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -141,14 +141,14 @@ void setup() { digitalWrite(SchuetzPin, LOW); //pumpe anfangs sofort abschalten digitalWrite(LuefterPin, LOW); - delay(5000); - digitalWrite(LuefterPin, HIGH); - digitalWrite(SchuetzPin, HIGH); - delay(2000); - digitalWrite(LuefterPin, LOW); - digitalWrite(SchuetzPin, LOW); - - delay(9999999); +// delay(5000); +// digitalWrite(LuefterPin, HIGH); +// digitalWrite(SchuetzPin, HIGH); +// delay(2000); +// digitalWrite(LuefterPin, LOW); +// digitalWrite(SchuetzPin, LOW); +// +// delay(9999999); pinMode(WasserSensorPin, INPUT); pinMode(DruckSensorPin, INPUT);