Merge pull request #1 from keyboardio/f/led-api-update
Updated to use the new LEDMode/LEDControl APIpull/365/head
commit
b40874edfc
@ -1,11 +1,10 @@
|
|||||||
#include "Kaleidoscope-LEDEffect-Breathe.h"
|
#include "Kaleidoscope-LEDEffect-Breathe.h"
|
||||||
|
|
||||||
LEDBreatheEffect_::LEDBreatheEffect_(void) {
|
namespace kaleidoscope {
|
||||||
}
|
void LEDBreatheEffect::update(void) {
|
||||||
|
|
||||||
void LEDBreatheEffect_::update(void) {
|
|
||||||
cRGB color = breath_compute();
|
cRGB color = breath_compute();
|
||||||
LEDControl.set_all_leds_to(color);
|
::LEDControl.set_all_leds_to(color);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
LEDBreatheEffect_ LEDBreatheEffect;
|
kaleidoscope::LEDBreatheEffect LEDBreatheEffect;
|
||||||
|
Loading…
Reference in new issue