Stop using deprecated interfaces

Use `Kaleidoscope.use` instead of `USE_PLUGINS`, which is getting deprecated.

Signed-off-by: Gergely Nagy <kaleidoscope@gergo.csillger.hu>
pull/389/head
Gergely Nagy 7 years ago
parent 7eded65ba3
commit df4a6f58cf

@ -10,7 +10,7 @@
[st:experimental]: https://img.shields.io/badge/experimental----black.svg?style=flat&colorA=dfb317&colorB=494e52
The `LEDEffects` plugin provides a selection of LED effects, each of them fairly
simple, simple enough to not need a plugin of their own.
simple, simple enough to not need a plugin of their own.
## Using the plugin
@ -23,7 +23,7 @@ them.
#include <Kaleidoscope-LEDEffects.h>
void setup(void) {
USE_PLUGINS(&JukeBoxEffect);
Kaleidoscope.use(&JukeBoxEffect);
Kaleidoscope.setup();
}

@ -44,7 +44,7 @@ const Key keymaps[][ROWS][COLS] PROGMEM = {
void setup() {
USE_PLUGINS(&LEDOff, &MiamiEffect, &JukeboxEffect, &JukeboxAlternateEffect);
Kaleidoscope.use(&LEDOff, &MiamiEffect, &JukeboxEffect, &JukeboxAlternateEffect);
Kaleidoscope.setup();

Loading…
Cancel
Save