From 352e0df7d800b033ce24ad1022461f5d1908da93 Mon Sep 17 00:00:00 2001 From: Clyne Sullivan Date: Thu, 14 Mar 2019 14:44:18 -0400 Subject: cleanup, display screen abstraction --- source/driverSharp.h | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 source/driverSharp.h (limited to 'source/driverSharp.h') diff --git a/source/driverSharp.h b/source/driverSharp.h deleted file mode 100644 index 986205b..0000000 --- a/source/driverSharp.h +++ /dev/null @@ -1,28 +0,0 @@ -#include "sharp/Adafruit_SharpMem.h" - -class Sharp { -private: - static Adafruit_SharpMem display; - static TaskHandle_t taskHandle; - static bool holdRendering; - static char message[16]; - -public: - static void begin(void); - - inline static void pause(void) { - holdRendering = true; - } - - inline static void unpause(void) { - holdRendering = false; - } - - inline static void setMessage(const char *s) { - strncpy(message, s, 16); - } - -private: - static void updateTask(void *); -}; - -- cgit v1.2.3