2024-10-1800 Temperatur Korrektur
This commit is contained in:
parent
4a3976e1ca
commit
920bf28c32
|
@ -22,5 +22,6 @@ lib_deps =
|
||||||
adafruit/DHT sensor library @ 1.4.6
|
adafruit/DHT sensor library @ 1.4.6
|
||||||
|
|
||||||
build_flags = ${env.build_flags}
|
build_flags = ${env.build_flags}
|
||||||
-DKorrekturTemperatur=0.0
|
-DKorrekturTemperatur=-4.1
|
||||||
|
-DKorrekturFeuchtigkeit=0.0
|
||||||
|
|
||||||
|
|
|
@ -106,7 +106,7 @@ void loop() {
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
Serial.print(F("Temperature: "));
|
Serial.print(F("Temperature: "));
|
||||||
Temperatur = event.temperature;
|
Temperatur = event.temperature + KorrekturTemperatur;
|
||||||
Serial.print(Temperatur);
|
Serial.print(Temperatur);
|
||||||
Serial.println(F("°C"));
|
Serial.println(F("°C"));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user