From 82cc3246fa1d455f6fd2437c1abb4ca85591201b 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 69218c83..2c3743db 100644 --- a/README.md +++ b/README.md @@ -16,11 +16,13 @@ Provides a breathing effect for the keyboard. Breathe in, breathe out. To use the plugin, include the header, and tell the firmware to use it: ```c++ +#include #include -void setup() { - Kaleidoscope.use(&LEDBreatheEffect); +KALEIDOSCOPE_INIT_PLUGINS(LEDControl, + LEDBreatheEffect); +void setup() { Kaleidoscope.setup(); } ```