From 8e2721a1b0eccd9046cb85229f60273762962dc2 Mon Sep 17 00:00:00 2001 From: Gergely Nagy Date: Wed, 9 May 2018 22:53:56 +0200 Subject: [PATCH] Updated the README to use the new plugin APIs Signed-off-by: Gergely Nagy --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a2c6fcc6..652f986e 100644 --- a/README.md +++ b/README.md @@ -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 #include -void setup() { - Kaleidoscope.use(&LEDRainbowEffect, &LEDRainbowWaveEffect); +KALEIDOSCOPE_INIT_PLUGINS(LEDRainbowEffect, LEDRainbowWaveEffect); +void setup() { Kaleidoscope.setup(); } ```