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 0cd6634f95
commit 673fe3c304

@ -17,11 +17,13 @@ over and over again. Playful colors they are.
To use the plugin, include the header, and tell the firmware to use it:
```c++
#include <Kaleidoscope-LEDControl.h>
#include <Kaleidoscope-LEDEffect-Chase.h>
void setup() {
Kaleidoscope.use(&LEDChaseEffect);
KALEIDOSCOPE_INIT_PLUGINS(LEDControl,
LEDEffect-Chase);
void setup() {
Kaleidoscope.setup();
}
```

Loading…
Cancel
Save