Paperd.Ink Library 0.0.5
Library for interacting with Paperd.Ink devices.
|
#include <date_time.h>
Public Member Functions | |
int8_t | fetch_data (const char *time_zone, uint8_t week_start_offset=6) |
void | display_day_date_style1_center (GxEPD2_GFX &display, uint16_t x, uint16_t y, uint16_t w) |
void | display_day_date_style2_center (GxEPD2_GFX &display, uint16_t x, uint16_t y, uint16_t w) |
void | display_last_updated_time_style1_center (GxEPD2_GFX &display, uint16_t x, uint16_t y, uint16_t w) |
void | display_calendar (GxEPD2_GFX &display, uint16_t x, uint16_t y) |
Public Attributes | |
char | wday [4] |
char | month [4] |
uint8_t | month_days |
uint8_t | month_num |
uint8_t | mday |
uint8_t | mil_hour |
uint8_t | hour |
uint8_t | min |
uint8_t | sec |
uint8_t | day_offset |
int | year |
uint8_t | week_start_offset |
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 |
Definition at line 9 of file date_time.h.
void PaperdinkUIDateClass::display_calendar | ( | GxEPD2_GFX & | display, |
uint16_t | x, | ||
uint16_t | y ) |
Definition at line 120 of file date_time.cpp.
void PaperdinkUIDateClass::display_day_date_style1_center | ( | GxEPD2_GFX & | display, |
uint16_t | x, | ||
uint16_t | y, | ||
uint16_t | w ) |
Definition at line 58 of file date_time.cpp.
void PaperdinkUIDateClass::display_day_date_style2_center | ( | GxEPD2_GFX & | display, |
uint16_t | x, | ||
uint16_t | y, | ||
uint16_t | w ) |
Definition at line 81 of file date_time.cpp.
void PaperdinkUIDateClass::display_last_updated_time_style1_center | ( | GxEPD2_GFX & | display, |
uint16_t | x, | ||
uint16_t | y, | ||
uint16_t | w ) |
Definition at line 104 of file date_time.cpp.
int8_t PaperdinkUIDateClass::fetch_data | ( | const char * | time_zone, |
uint8_t | week_start_offset = 6 ) |
Definition at line 4 of file date_time.cpp.
uint8_t PaperdinkUIDateClass::day_offset |
Definition at line 21 of file date_time.h.
uint8_t PaperdinkUIDateClass::hour |
Definition at line 18 of file date_time.h.
uint8_t PaperdinkUIDateClass::mday |
Definition at line 16 of file date_time.h.
uint8_t PaperdinkUIDateClass::mil_hour |
Definition at line 17 of file date_time.h.
uint8_t PaperdinkUIDateClass::min |
Definition at line 19 of file date_time.h.
char PaperdinkUIDateClass::month[4] |
Definition at line 13 of file date_time.h.
uint8_t PaperdinkUIDateClass::month_days |
Definition at line 14 of file date_time.h.
uint8_t PaperdinkUIDateClass::month_num |
Definition at line 15 of file date_time.h.
uint8_t PaperdinkUIDateClass::sec |
Definition at line 20 of file date_time.h.
char PaperdinkUIDateClass::wday[4] |
Definition at line 12 of file date_time.h.
uint8_t PaperdinkUIDateClass::week_start_offset |
Definition at line 24 of file date_time.h.
int PaperdinkUIDateClass::year |
Definition at line 22 of file date_time.h.