diff options
| author | Sadeep Madurange <sadeep@asciimx.com> | 2025-11-01 09:46:52 +0800 |
|---|---|---|
| committer | Sadeep Madurange <sadeep@asciimx.com> | 2025-11-01 09:46:52 +0800 |
| commit | 9f938ab8ba5af561bd44dbc7142f338ce317a01a (patch) | |
| tree | 7104ce2ac9456c5895f752eff26bad31f8436978 /esp32/main/epd.h | |
| download | etlas-9f938ab8ba5af561bd44dbc7142f338ce317a01a.tar.gz | |
Etlas project.
Diffstat (limited to 'esp32/main/epd.h')
| -rw-r--r-- | esp32/main/epd.h | 13 |
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 */ |
