Skip to content

Commit 75ac365

Browse files
committed
no inside data on dispaly
1 parent dc71da8 commit 75ac365

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ Also, I will make a new 3D printable case and publicize the STL file on this rep
1717
* I had the problem with wunderground API to find appropriate City Name and Country "code". My city is "Novi Sad", and it has one white space and two words. If you have the similar city name, with white spaces, use underscore instead of whitespace: "Novi_Sad". Also in the [wunderground international city code list was code](https://www.wunderground.com/about/faq/international_cities.asp) for my country, "Serbia". The code in the list was "YG", but the correct code was "RS", so watch out for that when changing.
1818

1919
### TODO:
20-
* lose the indor weather page on dispaly - in firmware
2120
* make new case
2221
---
2322

weather_station_firmware/weather_station_firmware.ino

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ void drawHeaderOverlay(OLEDDisplay *display, OLEDDisplayUiState* state);
5151
void setReadyForWeatherUpdate();
5252

5353
/* frames */
54-
FrameCallback frames[] = {drawDateTime, drawDHT, drawCurrentWeather, drawForecast};
55-
int numberOfFrames = 4;
54+
FrameCallback frames[] = {drawDateTime, /*drawDHT, */drawCurrentWeather, drawForecast};
55+
int numberOfFrames = 3;
5656

5757
OverlayCallback overlays[] = { drawHeaderOverlay };
5858
int numberOfOverlays = 1;
@@ -263,8 +263,8 @@ void drawHeaderOverlay(OLEDDisplay *display, OLEDDisplayUiState* state)
263263
display->setFont(ArialMT_Plain_10);
264264

265265
display->setTextAlignment(TEXT_ALIGN_LEFT);
266-
String tempIn = "In: "+ String("N/A");// + "°C";
267-
//String tempIn = "In: "+ String(localTemp) + "°C";
266+
// Show maximum temperature for today
267+
String tempIn = "Max: "+ wunderground.getForecastHighTemp(0) + "°C";
268268
display->drawString(0, 54, tempIn);
269269

270270
display->setColor(WHITE);

0 commit comments

Comments
 (0)