diff --git a/README.md b/README.md index 3f6790ff..500013ef 100644 --- a/README.md +++ b/README.md @@ -52,8 +52,8 @@ void systerAction(kaleidoscope::Syster::action_t action, const char *symbol) { void setup() { Serial.begin(9600); - - USE_PLUGINS(&Unicode, &Syster); + + Kaleidoscope.use(&Unicode, &Syster); Kaleidoscope.setup (); } diff --git a/examples/Syster/Syster.ino b/examples/Syster/Syster.ino index 9d7589d3..76d13296 100644 --- a/examples/Syster/Syster.ino +++ b/examples/Syster/Syster.ino @@ -65,7 +65,7 @@ void systerAction(kaleidoscope::Syster::action_t action, const char *symbol) { } void setup() { - USE_PLUGINS(&Unicode, &Syster); + Kaleidoscope.use(&Unicode, &Syster); Kaleidoscope.setup(); } diff --git a/src/Kaleidoscope/Syster.cpp b/src/Kaleidoscope/Syster.cpp index 4e5a8a08..7c6ff5cb 100644 --- a/src/Kaleidoscope/Syster.cpp +++ b/src/Kaleidoscope/Syster.cpp @@ -37,7 +37,7 @@ Syster::Syster(void) { } void Syster::begin(void) { - event_handler_hook_use(eventHandlerHook); + Kaleidoscope.useEventHandlerHook(eventHandlerHook); } void Syster::reset(void) {