diff options
author | salaaad2 <arthurdurant263@gmail.com> | 2022-05-17 20:58:07 +0200 |
---|---|---|
committer | salaaad2 <arthurdurant263@gmail.com> | 2022-05-17 20:58:07 +0200 |
commit | ec8e4eb6320ddaabd71afbda12e93fbdab0d10d0 (patch) | |
tree | f9cf6bbdbdc512a258701ed2c0ea8c838d51a6c1 /src/castRay.cpp | |
download | watchoom-ec8e4eb6320ddaabd71afbda12e93fbdab0d10d0.tar.gz watchoom-ec8e4eb6320ddaabd71afbda12e93fbdab0d10d0.tar.bz2 watchoom-ec8e4eb6320ddaabd71afbda12e93fbdab0d10d0.tar.xz watchoom-ec8e4eb6320ddaabd71afbda12e93fbdab0d10d0.tar.zst watchoom-ec8e4eb6320ddaabd71afbda12e93fbdab0d10d0.zip |
initial commit
Diffstat (limited to 'src/castRay.cpp')
-rw-r--r-- | src/castRay.cpp | 20 |
1 files changed, 20 insertions, 0 deletions
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(); +} |