summaryrefslogtreecommitdiffstats
path: root/esp32/main/epd.h
diff options
context:
space:
mode:
Diffstat (limited to 'esp32/main/epd.h')
-rw-r--r--esp32/main/epd.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/esp32/main/epd.h b/esp32/main/epd.h
new file mode 100644
index 0000000..4fce90e
--- /dev/null
+++ b/esp32/main/epd.h
@@ -0,0 +1,13 @@
+#ifndef EPD_H
+#define EPD_H
+
+#define EPD_WIDTH 800
+#define EPD_HEIGHT 480
+
+void epd_init(void);
+void epd_clear(void);
+void epd_draw(const unsigned char *buf, int n);
+void epd_wake(void);
+void epd_sleep(void);
+
+#endif /* EPD_H */