aboutsummaryrefslogtreecommitdiff
path: root/laser-tag software/text.h
blob: a1363d16d3367e2d9c9bcf1a0b6189e8324cbcf5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef _TEXT_H_
#define _TEXT_H_

#include <stdint.h>

#define EPAPER_WIDTH 232
#define EPAPER_HEIGHT 128

#ifndef GLITCHDEBUG
#define printf(...)
#endif

#ifndef NULL
#define NULL ((void*)0)
#endif

uint8_t text_to_image(const char* ptext, uint8_t length, uint8_t *pimage, uint8_t offset_x, uint8_t offset_y, uint8_t upper_x, uint8_t upper_y);

#endif