Skip to content

Commit fde18b6

Browse files
committed
Added language to Wonderground api
1 parent f999eba commit fde18b6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/WeatherStationDemo/WeatherStationDemo.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,9 +205,9 @@ void updateData(OLEDDisplay *display) {
205205
drawProgress(display, 10, "Updating time...");
206206
timeClient.updateTime();
207207
drawProgress(display, 30, "Updating conditions...");
208-
wunderground.updateConditions(WUNDERGRROUND_API_KEY, WUNDERGROUND_COUNTRY, WUNDERGROUND_CITY);
208+
wunderground.updateConditions(WUNDERGRROUND_API_KEY, WUNDERGRROUND_LANGUAGE, WUNDERGROUND_COUNTRY, WUNDERGROUND_CITY);
209209
drawProgress(display, 50, "Updating forecasts...");
210-
wunderground.updateForecast(WUNDERGRROUND_API_KEY, WUNDERGROUND_COUNTRY, WUNDERGROUND_CITY);
210+
wunderground.updateForecast(WUNDERGRROUND_API_KEY, WUNDERGRROUND_LANGUAGE, WUNDERGROUND_COUNTRY, WUNDERGROUND_CITY);
211211
drawProgress(display, 80, "Updating thingspeak...");
212212
thingspeak.getLastChannelItem(THINGSPEAK_CHANNEL_ID, THINGSPEAK_API_READ_KEY);
213213
lastUpdate = timeClient.getFormattedTime();

0 commit comments

Comments
 (0)