You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Jesse Vincent
77a3f9a611
|
7 years ago | |
---|---|---|
src | 7 years ago | |
.travis.yml | 8 years ago | |
COPYING | 8 years ago | |
Makefile | 7 years ago | |
README.md | 8 years ago | |
library.properties | 8 years ago |
README.md
Kaleidoscope-LEDEffect-Rainbow
Two colorful rainbow effects are implemented by this plugin: one where the rainbow waves through the keys, and another where the LEDs breathe though the colors of a rainbow. The difference is that in the first case, we have all the rainbow colors on display, and it waves through the keyboard. In the second case, we have only one color at a time, for the whole board, and the color cycles through the rainbow's palette.
Using the extension
To use the plugin, include the header, and tell the firmware to use either (or both!) of the effects:
#include <Kaleidoscope-LEDEffect-Rainbow.h>
void setup() {
Kaleidoscope.use(&LEDRainbowEffect, &LEDRainbowWaveEffect);
Kaleidoscope.setup();
}
Plugin methods
The plugin provides two objects: LEDRainbowEffect
, and LEDRainbowWaveEffect
,
neither of which have any public methods or properties, outside of those
provided by all LED modes.