2020-02-10 14:29:39 +00:00
|
|
|
#ifndef DISPLAY_H
|
|
|
|
#define DISPLAY_H
|
|
|
|
|
2020-10-01 19:31:17 +00:00
|
|
|
#define ENABLE_GxEPD2_GFX 0
|
2020-02-10 14:29:39 +00:00
|
|
|
#include <GxEPD2_BW.h>
|
2020-10-01 19:31:17 +00:00
|
|
|
#include <Adafruit_GFX.h>
|
2020-02-23 16:29:39 +00:00
|
|
|
|
|
|
|
|
2020-02-10 14:29:39 +00:00
|
|
|
void setupDisplay();
|
2020-10-01 19:31:17 +00:00
|
|
|
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-10-01 19:31:17 +00:00
|
|
|
|
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
|