diff options
Diffstat (limited to 'laser-tag software/text.h')
-rw-r--r-- | laser-tag software/text.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/laser-tag software/text.h b/laser-tag software/text.h new file mode 100644 index 0000000..a1363d1 --- /dev/null +++ b/laser-tag software/text.h @@ -0,0 +1,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 |