diff options
| author | JF <jf@codingfield.com> | 2019-12-26 12:06:12 +0100 |
|---|---|---|
| committer | Gitea <gitea@fake.local> | 2019-12-26 12:06:12 +0100 |
| commit | 9a379e180fd855dac2a9fe6b4532d95276edab0b (patch) | |
| tree | 236ad0dfafd819b2f09835bccf855d90a5b1663b /src/DisplayApp/DisplayApp.h | |
| parent | 528fc5661679feeef91e76d633c94c945bb0a3df (diff) | |
| parent | 598c42dfbe88fcbcc9e8cba29b2b2b07ace79bad (diff) | |
Merge branch 'ble-cts' of JF/PineTime into master
Diffstat (limited to 'src/DisplayApp/DisplayApp.h')
| -rw-r--r-- | src/DisplayApp/DisplayApp.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/DisplayApp/DisplayApp.h b/src/DisplayApp/DisplayApp.h index 8b5cb4e6..e89ff64f 100644 --- a/src/DisplayApp/DisplayApp.h +++ b/src/DisplayApp/DisplayApp.h @@ -14,6 +14,11 @@ namespace Pinetime { public: void Start(); + void Minutes(uint8_t m); + void Hours(uint8_t h); + + void SetTime(uint8_t minutes, uint8_t hours); + private: TaskHandle_t taskHandle; static void Process(void* instance); @@ -24,10 +29,13 @@ namespace Pinetime { const FONT_INFO largeFont {lCD_70ptFontInfo.height, lCD_70ptFontInfo.startChar, lCD_70ptFontInfo.endChar, lCD_70ptFontInfo.spacePixels, lCD_70ptFontInfo.charInfo, lCD_70ptFontInfo.data}; void Refresh(); + + uint8_t seconds = 0; uint8_t minutes = 0; uint8_t hours = 0; char currentChar[4]; + uint32_t deltaSeconds = 0; }; } } |
