From 31e115f7e72532fbfd456709e95d440e3be46fa1 Mon Sep 17 00:00:00 2001 From: tcsullivan Date: Thu, 14 Mar 2019 10:14:40 -0400 Subject: app communication working --- source/driverSharp.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'source/driverSharp.h') diff --git a/source/driverSharp.h b/source/driverSharp.h index 799c828..986205b 100644 --- a/source/driverSharp.h +++ b/source/driverSharp.h @@ -5,6 +5,7 @@ private: static Adafruit_SharpMem display; static TaskHandle_t taskHandle; static bool holdRendering; + static char message[16]; public: static void begin(void); @@ -17,6 +18,10 @@ public: holdRendering = false; } + inline static void setMessage(const char *s) { + strncpy(message, s, 16); + } + private: static void updateTask(void *); }; -- cgit v1.2.3