diff --git a/src/Clock.cpp b/src/Clock.cpp index 5c4a53f..af617c5 100644 --- a/src/Clock.cpp +++ b/src/Clock.cpp @@ -10,9 +10,8 @@ Clock::Clock() : strip(NUMPIXELS, D5, NEO_GRB + NEO_KHZ800), animator(), refresh void Clock::init() { strip.begin(); - strip.clear(); - strip.show(); + // initialize clock ticker turnOn(); } diff --git a/src/Clock.h b/src/Clock.h index b42a45a..ffd2132 100644 --- a/src/Clock.h +++ b/src/Clock.h @@ -25,8 +25,20 @@ class Clock { public: Clock(); + + /** + * initialize the strip and wordclock functions + */ void init(); + + /** + * turn of the wordclock + */ void turnOff(); + + /** + * turn on the wordclock + */ void turnOn(); Ticker refreshTicker;