Updated the README to use the new plugin APIs

Signed-off-by: Gergely Nagy <algernon@keyboard.io>
pull/365/head
Gergely Nagy 7 years ago
parent 77a3f9a611
commit 8e2721a1b0

@ -22,11 +22,12 @@ To use the plugin, include the header, and tell the firmware to use either (or
both!) of the effects:
```c++
#include <Kaleidoscope-LEDControl.h>
#include <Kaleidoscope-LEDEffect-Rainbow.h>
void setup() {
Kaleidoscope.use(&LEDRainbowEffect, &LEDRainbowWaveEffect);
KALEIDOSCOPE_INIT_PLUGINS(LEDRainbowEffect, LEDRainbowWaveEffect);
void setup() {
Kaleidoscope.setup();
}
```

Loading…
Cancel
Save