aboutsummaryrefslogtreecommitdiff
path: root/laser-tag software/epaper.h
diff options
context:
space:
mode:
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);