aboutsummaryrefslogtreecommitdiffstats
path: root/source/driverSharp.h
blob: 799c8282364de1b7af3aa6628c6d77a4a6ee0563 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#include "sharp/Adafruit_SharpMem.h"

class Sharp {
private:
	static Adafruit_SharpMem display;
	static TaskHandle_t taskHandle;
	static bool holdRendering;

public:
	static void begin(void);

	inline static void pause(void) {
		holdRendering = true;
	}

	inline static void unpause(void) {
		holdRendering = false;
	}

private:
	static void updateTask(void *);
};