Skip to content

Commit 0924b63

Browse files
committed
show calibrated temp on serial
1 parent e56e8a0 commit 0924b63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

thermostat.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@ void getTemperature() {
7575
DS18B20.requestTemperatures(); // initialize temperature sensor
7676
temp_c = float(DS18B20.getTempCByIndex(0)); // read sensor
7777
yield();
78-
Serial.println(temp_c);
7978
temp_c = temp_c + temp_dev; // calibrating sensor
79+
Serial.println(temp_c);
8080
}
8181

8282
void switchRelais(String sw = "TOGGLE") { // if no parameter given, assume TOGGLE

0 commit comments

Comments
 (0)