|
|
@ -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:
|
|
|
|
To use the plugin, include the header, and tell the firmware to use it:
|
|
|
|
|
|
|
|
|
|
|
|
```c++
|
|
|
|
```c++
|
|
|
|
|
|
|
|
#include <Kaleidoscope-LEDControl.h>
|
|
|
|
#include <Kaleidoscope-LEDEffect-Breathe.h>
|
|
|
|
#include <Kaleidoscope-LEDEffect-Breathe.h>
|
|
|
|
|
|
|
|
|
|
|
|
void setup() {
|
|
|
|
KALEIDOSCOPE_INIT_PLUGINS(LEDControl,
|
|
|
|
Kaleidoscope.use(&LEDBreatheEffect);
|
|
|
|
LEDBreatheEffect);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void setup() {
|
|
|
|
Kaleidoscope.setup();
|
|
|
|
Kaleidoscope.setup();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
```
|
|
|
|
```
|
|
|
|