File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
examples/WeatherStationDemo Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -42,6 +42,9 @@ See more at http://blog.squix.ch
42
42
const char * WIFI_SSID = " yourssid" ;
43
43
const char * WIFI_PWD = " yourpassw0rd" ;
44
44
45
+ // Setup
46
+ const int UPDATE_INTERVAL_SECS = 10 * 60 ; // Update every 10 minutes
47
+
45
48
// Display Settings
46
49
const int I2C_DISPLAY_ADDRESS = 0x3c ;
47
50
const int SDA_PIN = D3;
@@ -145,7 +148,7 @@ void setup() {
145
148
146
149
updateData (&display);
147
150
148
- ticker.attach (10 * 60 * 10 , setReadyForWeatherUpdate);
151
+ ticker.attach (UPDATE_INTERVAL_SECS , setReadyForWeatherUpdate);
149
152
150
153
}
151
154
Original file line number Diff line number Diff line change 1
1
name =ESP8266 Weather Station
2
- version =1.0.1
2
+ version =1.0.2
3
3
author =Daniel Eichhorn
4
4
maintainer =Daniel Eichhorn <squix78@gmail.com>
5
5
sentence =ESP8266 based internet connected Weather Station
You can’t perform that action at this time.
0 commit comments