parent
7686f58715
commit
90d21fb627
@ -1,13 +1,13 @@
|
||||
#include "Kaleidoscope-LEDEffect-SolidColor.h"
|
||||
|
||||
LEDSolidColor::LEDSolidColor (uint8_t r, uint8_t g, uint8_t b) {
|
||||
LEDSolidColor::LEDSolidColor(uint8_t r, uint8_t g, uint8_t b) {
|
||||
this->r = r;
|
||||
this->g = g;
|
||||
this->b = b;
|
||||
LEDControl.mode_add (this);
|
||||
LEDControl.mode_add(this);
|
||||
}
|
||||
|
||||
void
|
||||
LEDSolidColor::init (void) {
|
||||
LEDControl.set_all_leds_to (r, g, b);
|
||||
LEDSolidColor::init(void) {
|
||||
LEDControl.set_all_leds_to(r, g, b);
|
||||
}
|
||||
|
Loading…
Reference in new issue