Jesse Vincent 81ae19a7ec | 4 years ago | |
---|---|---|
.. | ||
src | 4 years ago | |
README.md | 4 years ago | |
library.properties | 4 years ago |
README.md
LEDEffect-SolidColor
This plugin provides tools to build LED effects that set the entire keyboard to a single color. For show, and for backlighting purposes.
Using the extension
To use the plugin, include the header, declare an effect using the
kaleidoscope::plugin::LEDSolidColor
class, and tell the firmware to use the
new effect:
#include <Kaleidoscope-LEDEffect-SolidColor.h>
static kaleidoscope::plugin::LEDSolidColor solidRed(160, 0, 0);
KALEIDOSCOPE_INIT_PLUGINS(LEDControl, solidRed);
void setup() {
Kaleidoscope.setup();
}