From 7476c66b07c85c301050b9e3cc44b0bc0b0ceb02 Mon Sep 17 00:00:00 2001 From: -k Date: Mon, 26 Jul 2021 16:52:26 -0700 Subject: [PATCH] 7_SEG: Add Sleep Mode support --- examples/WatchFaces/7_SEG/Watchy_7_SEG.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/examples/WatchFaces/7_SEG/Watchy_7_SEG.cpp b/examples/WatchFaces/7_SEG/Watchy_7_SEG.cpp index 8929023..3bbe3ac 100644 --- a/examples/WatchFaces/7_SEG/Watchy_7_SEG.cpp +++ b/examples/WatchFaces/7_SEG/Watchy_7_SEG.cpp @@ -13,6 +13,12 @@ Watchy7SEG::Watchy7SEG(){} //constructor void Watchy7SEG::drawWatchFace(){ display.fillScreen(DARKMODE ? GxEPD_BLACK : GxEPD_WHITE); display.setTextColor(DARKMODE ? GxEPD_WHITE : GxEPD_BLACK); + if(RTC_WAKE_IGNORE_ACTIVE){ + display.setFont(&Seven_Segment10pt7b); + display.setCursor(53, 182); + display.print("SLEEP MODE"); + return; + } drawTime(); drawDate(); drawSteps();