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.
|
#include "LED-SolidColor.h"
|
|
|
|
LEDSolidColor::LEDSolidColor (uint8_t r, uint8_t g, uint8_t b) {
|
|
this->r = r;
|
|
this->g = g;
|
|
this->b = b;
|
|
LEDControl.mode_add (this);
|
|
}
|
|
|
|
void
|
|
LEDSolidColor::init (void) {
|
|
LEDControl.set_all_leds_to (r, g, b);
|
|
}
|