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
4242const char * WIFI_SSID = " yourssid" ;
4343const char * WIFI_PWD = " yourpassw0rd" ;
4444
45+ // Setup
46+ const int UPDATE_INTERVAL_SECS = 10 * 60 ; // Update every 10 minutes
47+
4548// Display Settings
4649const int I2C_DISPLAY_ADDRESS = 0x3c ;
4750const int SDA_PIN = D3;
@@ -145,7 +148,7 @@ void setup() {
145148
146149 updateData (&display);
147150
148- ticker.attach (10 * 60 * 10 , setReadyForWeatherUpdate);
151+ ticker.attach (UPDATE_INTERVAL_SECS , setReadyForWeatherUpdate);
149152
150153}
151154
Original file line number Diff line number Diff line change 11name =ESP8266 Weather Station
2- version =1.0.1
2+ version =1.0.2
33author =Daniel Eichhorn
44maintainer =Daniel Eichhorn <squix78@gmail.com>
55sentence =ESP8266 based internet connected Weather Station
You can’t perform that action at this time.
0 commit comments