From ec8e4eb6320ddaabd71afbda12e93fbdab0d10d0 Mon Sep 17 00:00:00 2001 From: salaaad2 Date: Tue, 17 May 2022 20:58:07 +0200 Subject: initial commit --- src/castRay.cpp | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 src/castRay.cpp (limited to 'src/castRay.cpp') diff --git a/src/castRay.cpp b/src/castRay.cpp new file mode 100644 index 0000000..d8e7e20 --- /dev/null +++ b/src/castRay.cpp @@ -0,0 +1,20 @@ +#include "castRay.h" + +#define DARKMODE false +void CastRay::drawLoop() +{ + display.fillScreen(GxEPD_WHITE); +} + +void CastRay::drawWatchFace() +{ + display.fillScreen(GxEPD_WHITE); + display.setTextColor(GxEPD_BLACK); + + display.setFont(&DSEG7_Classic_Bold_53); + display.setCursor(5, 53+5); + display.print("0x0x0x0x0"); + displayPtr = &display; + usleep(1); + this->drawLoop(); +} -- cgit v1.2.3