aboutsummaryrefslogtreecommitdiff
path: root/src/display.h
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2026-02-28 17:37:19 +0530
committerAkshay Nair <phenax5@gmail.com>2026-02-28 17:37:19 +0530
commit18268280dc6c0bd44035b53655ae43e9c88245bd (patch)
treec17b1703d8a3deb4cd67a6e6466d024f02a49bb7 /src/display.h
parent02c12bfedcf669df81491ea49502a982e980bcda (diff)
downloaddaft-watch-18268280dc6c0bd44035b53655ae43e9c88245bd.tar.gz
daft-watch-18268280dc6c0bd44035b53655ae43e9c88245bd.zip
Add set time mode + test for button
Diffstat (limited to 'src/display.h')
-rw-r--r--src/display.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/display.h b/src/display.h
index 44c0c0e..0353705 100644
--- a/src/display.h
+++ b/src/display.h
@@ -1,22 +1,8 @@
#ifndef _LOADED_DISPLAY
#define _LOADED_DISPLAY
-#include <stdint.h>
-
-// "_gfedcba"
-// Reversed because a-g is mapped to pa0-6. (pa7 is decimal)
-// Complemented because display is common anode
-static const uint32_t digit_masks[] = {
- 0b1000000, 0b1111001, 0b0100100, 0b0110000, 0b0011001,
- 0b0010010, 0b0000010, 0b1111000, 0b0000000, 0b0010000,
-};
-
-// Current digit position
-volatile extern uint8_t current_digit;
void display_setup(void);
-void write_time(uint8_t digit_index);
-
void display_render(void);
#endif