2024-10-1800 Temperatur Korrektur

This commit is contained in:
hans-jurgen 2024-10-18 18:58:41 +02:00
parent 4a3976e1ca
commit 920bf28c32
2 changed files with 3 additions and 2 deletions

View File

@ -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

View File

@ -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"));
}