diff --git a/platformio.ini b/platformio.ini index e1b6a98..6bf55af 100644 --- a/platformio.ini +++ b/platformio.ini @@ -22,5 +22,6 @@ lib_deps = adafruit/DHT sensor library @ 1.4.6 build_flags = ${env.build_flags} - -DKorrekturTemperatur=0.0 + -DKorrekturTemperatur=-4.1 + -DKorrekturFeuchtigkeit=0.0 diff --git a/src/main.cpp b/src/main.cpp index 88797c6..d472002 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -106,7 +106,7 @@ void loop() { } else { Serial.print(F("Temperature: ")); - Temperatur = event.temperature; + Temperatur = event.temperature + KorrekturTemperatur; Serial.print(Temperatur); Serial.println(F("°C")); }