aboutsummaryrefslogtreecommitdiff
path: root/laser-tag software/epaper.h
blob: 138c67f601ff553c4473c8e3832cdd30996fda6e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef _EPAPER_H_
#define _EPAPER_H_

#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);

#endif