mirror of https://github.com/sqfmi/Watchy.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
531 B
C++
18 lines
531 B
C++
#include "Watchy_Pokemon.h"
|
|
|
|
void WatchyPokemon::drawWatchFace(){
|
|
display.fillScreen(GxEPD_WHITE);
|
|
display.drawBitmap(0, 0, pokemon, DISPLAY_WIDTH, DISPLAY_HEIGHT, GxEPD_BLACK);
|
|
display.setTextColor(GxEPD_BLACK);
|
|
display.setFont(&FreeMonoBold9pt7b);
|
|
display.setCursor(10, 170);
|
|
if(currentTime.Hour < 10){
|
|
display.print('0');
|
|
}
|
|
display.print(currentTime.Hour);
|
|
display.print(':');
|
|
if(currentTime.Minute < 10){
|
|
display.print('0');
|
|
}
|
|
display.print(currentTime.Minute);
|
|
} |