From 673fe3c304ff57e952e4d6d3006b1bf40550953d 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 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 78e59e6b..7a123e75 100644 --- a/README.md +++ b/README.md @@ -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 #include -void setup() { - Kaleidoscope.use(&LEDChaseEffect); +KALEIDOSCOPE_INIT_PLUGINS(LEDControl, + LEDEffect-Chase); +void setup() { Kaleidoscope.setup(); } ```