v.0.3.2 WeatherFetcher, more data on board
This commit is contained in:
@@ -111,6 +111,11 @@ void displayWeatherOnMatrix(const Weather w)
|
|||||||
|
|
||||||
matrix.drawText(0, 0, w.location.name.c_str(), CRGB::Yellow);
|
matrix.drawText(0, 0, w.location.name.c_str(), CRGB::Yellow);
|
||||||
matrix.drawText(0, 8, zeit_temp.c_str(), CRGB::Yellow);
|
matrix.drawText(0, 8, zeit_temp.c_str(), CRGB::Yellow);
|
||||||
|
matrix.drawText(0, 17, w.current.condition.text.value().c_str(), CRGB::Yellow);
|
||||||
|
|
||||||
|
String wind = w.current.wind_dir + "->" + w.current.wind_kph;
|
||||||
|
matrix.drawText(0, 26, wind.c_str(), CRGB::Yellow);
|
||||||
|
matrix.drawText(0, 35, w.current.last_updated.substring(11).c_str(), CRGB::Yellow);
|
||||||
|
|
||||||
matrix.show();
|
matrix.show();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user