aboutsummaryrefslogtreecommitdiff
path: root/laser-tag software/epaper.h
diff options
context:
space:
mode:
authorDavid Barksdale <amatus@amat.us>2023-08-06 13:16:30 -0500
committerDavid Barksdale <amatus@amat.us>2023-08-06 13:16:30 -0500
commit2e584b8a27c7959b9f0ac1775db63dcc0aea1653 (patch)
tree11991d6c83fd087c60494d62d31943af383ddd69 /laser-tag software/epaper.h
parent71a0463206a224c56225aeb74c16d112a9239cb0 (diff)
Software changes for V2HEADmaster
Diffstat (limited to 'laser-tag software/epaper.h')
-rw-r--r--laser-tag software/epaper.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/laser-tag software/epaper.h b/laser-tag software/epaper.h
index 26e1815..138c67f 100644
--- a/laser-tag software/epaper.h
+++ b/laser-tag software/epaper.h
@@ -3,6 +3,14 @@
#include <stdint.h>
+#ifdef BADGE_V1
+#define EPD_W (232)
+#define EPD_H (128)
+#else
+#define EPD_W (264)
+#define EPD_H (176)
+#endif
+
void EPD_Init();
int EPD_Draw(const uint8_t *old_image, const uint8_t *new_image);