Firmware for the Keyboardio Model 01 and other keyboards with AVR or ARM MCUs.
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.
 
 
 
 
 
 
Go to file
Gergely Nagy 57f3ddd43a
Use Kaleidoscope.millisAtCycleStart()
6 years ago
src Use Kaleidoscope.millisAtCycleStart() 6 years ago
.travis.yml shellcheck should only be run in the Kaleidoscope repo 6 years ago
CONTRIBUTING.md Add CONTRIBUTING.md 6 years ago
COPYING Relicense under GPLv3 (only), and add headers. 6 years ago
Makefile Update Makefile with OSX fixes and new paths 7 years ago
README.md add saturation option 6 years ago
library.properties library.properties: Fill out the paragraph too. 7 years ago

README.md

Kaleidoscope-LEDEffect-Breathe

status Build Status

Provides a breathing effect for the keyboard. Breathe in, breathe out.

Using the extension

To use the plugin, include the header, and tell the firmware to use it:

#include <Kaleidoscope-LEDControl.h>
#include <Kaleidoscope-LEDEffect-Breathe.h>

KALEIDOSCOPE_INIT_PLUGINS(LEDControl,
                          LEDBreatheEffect);

void setup() {
  Kaleidoscope.setup();
}

Plugin properties

The plugin provides the LEDBreatheEffect object, which has a single property:

.hue

The hue of the breathe effect.

Defaults to 170, a blue hue.

.saturation

The color saturation of the breathe effect.

Defaults to 255, the maximum.

Dependencies