We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2dc88f2 commit 7c9860cCopy full SHA for 7c9860c
ESP8266-temp-server.ino
@@ -14,14 +14,14 @@
14
#define ONE_WIRE_BUS D1
15
#define ONBOARD_LED D4
16
#define SAVED_LOGFILES 30
17
+#define SENSOR_ERROR -273.15
18
19
#define TZ 1 // (utc+) TZ in hours
20
#define DST_MN 60 // use 60mn for summer time in some countries
21
#define TZ_MN ((TZ)*60)
22
#define TZ_SEC ((TZ)*3600)
23
#define DST_SEC ((DST_MN)*60)
24
-const float SENSOR_ERROR = -273.15;
25
26
float currentTemp = SENSOR_ERROR;
27
bool dstStatus = true;
0 commit comments