diff options
author | Clyne Sullivan <tullivan99@gmail.com> | 2019-03-14 14:44:18 -0400 |
---|---|---|
committer | Clyne Sullivan <tullivan99@gmail.com> | 2019-03-14 14:44:18 -0400 |
commit | 352e0df7d800b033ce24ad1022461f5d1908da93 (patch) | |
tree | 3cf6adf03311668fe3ecbbb21c070668624fa10a /source/controller.cpp | |
parent | 31e115f7e72532fbfd456709e95d440e3be46fa1 (diff) |
cleanup, display screen abstraction
Diffstat (limited to 'source/controller.cpp')
-rwxr-xr-x | source/controller.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/controller.cpp b/source/controller.cpp index fc1b70b..a364c9d 100755 --- a/source/controller.cpp +++ b/source/controller.cpp @@ -2,7 +2,7 @@ #include <bluefruit.h> -#include "driverSharp.h" +#include "sharp.hpp" #include "rtc.hpp" BLEUart bleuart; @@ -45,6 +45,7 @@ void setup(void) Bluefruit.Advertising.start(0); // 0 = Don't stop advertising after n seconds Serial.println(F("Ready.")); + Sharp::setScreen(RTC::showTime); } void loop(void) @@ -66,7 +67,7 @@ void handlePacket(void) switch (buf[0]) { case 'L': - Sharp::setMessage(buf + 1); + RTC::setMessage(buf + 1); break; case 'T': Serial.println("Setting time!"); |