|
Paperd.Ink Library 0.0.5
Library for interacting with Paperd.Ink devices.
|
#include <weather.h>
Public Member Functions | |
| int8_t | fetch_data (const char *city, const char *country, const char *owm_api_id, const char *units="M") |
| void | display_weather_text_center (GxEPD2_GFX &display, uint16_t x, uint16_t y, uint16_t w) |
| void | display_weather_style1 (GxEPD2_GFX &display, uint16_t x, uint16_t y) |
| void | display_weather_style2_center (GxEPD2_GFX &display, uint16_t x, uint16_t y, uint16_t w) |
Public Attributes | |
| char | city [20] |
| char | country [20] |
| char | weather_string [10] |
| float | day_max_temp |
| float | day_min_temp |
| float | rain |
| float | snow |
Public Attributes inherited from PaperdinkUIBaseClass | |
| const GFXfont * | font = &PAPERDINK_FONT_SML |
| const GFXfont * | font_bold = &PAPERDINK_FONT_SML_BOLD |
| int | primary_color = GxEPD_BLACK |
| int | secondary_color = GxEPD_WHITE |
| int | tertiary_color = GxEPD_BLACK |
| void PaperdinkUIWeatherClass::display_weather_style1 | ( | GxEPD2_GFX & | display, |
| uint16_t | x, | ||
| uint16_t | y ) |
Definition at line 133 of file weather.cpp.
| void PaperdinkUIWeatherClass::display_weather_style2_center | ( | GxEPD2_GFX & | display, |
| uint16_t | x, | ||
| uint16_t | y, | ||
| uint16_t | w ) |
Definition at line 171 of file weather.cpp.
| void PaperdinkUIWeatherClass::display_weather_text_center | ( | GxEPD2_GFX & | display, |
| uint16_t | x, | ||
| uint16_t | y, | ||
| uint16_t | w ) |
Definition at line 121 of file weather.cpp.
| int8_t PaperdinkUIWeatherClass::fetch_data | ( | const char * | city, |
| const char * | country, | ||
| const char * | owm_api_id, | ||
| const char * | units = "M" ) |
Definition at line 46 of file weather.cpp.