device-epd/lib/display/display.h

18 lines
332 B
C
Raw Normal View History

2020-02-10 14:29:39 +00:00
#ifndef DISPLAY_H
#define DISPLAY_H
#define ENABLE_GxEPD2_GFX 0
2020-02-10 14:29:39 +00:00
#include <GxEPD2_BW.h>
#include <Adafruit_GFX.h>
2020-02-10 14:29:39 +00:00
void setupDisplay();
GFXcanvas1 *displayGetCanvas();
2020-02-10 14:29:39 +00:00
2020-02-16 16:05:44 +00:00
void displayFlush();
2020-12-24 11:21:50 +00:00
uint16_t displayGetWidth();
uint16_t displayGetHeight();
2020-11-13 17:53:00 +00:00
int displaySnapshotBMPStream(uint8_t *buffer, size_t maxLen, size_t index);
2020-10-27 20:13:56 +00:00
2020-02-10 14:29:39 +00:00
#endif