diff options
author | tcsullivan <tullivan99@gmail.com> | 2019-03-14 10:14:40 -0400 |
---|---|---|
committer | tcsullivan <tullivan99@gmail.com> | 2019-03-14 10:14:40 -0400 |
commit | 31e115f7e72532fbfd456709e95d440e3be46fa1 (patch) | |
tree | e937395624efecf99eb4f58f1cd7f57d2efc7997 /source/driverSharp.h | |
parent | dd33956654589ded6644a75088e50069b1744ef9 (diff) |
app communication working
Diffstat (limited to 'source/driverSharp.h')
-rw-r--r-- | source/driverSharp.h | 5 |
1 files changed, 5 insertions, 0 deletions
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 *); }; |