13 LED::LED(
int pin_left_red,
int pin_left_green,
int pin_left_blue,
14 int pin_right_red,
int pin_right_green,
int pin_right_blue) {
16 setup(pin_left_red, pin_left_green, pin_left_blue,
17 pin_right_red, pin_right_green, pin_right_blue);
21 void LED::setup(
int pin_left_red,
int pin_left_green,
int pin_left_blue,
22 int pin_right_red,
int pin_right_green,
int pin_right_blue) {
44 _setColor(min_val, min_val, min_val,
SIDE_BOTH);
70 void LED::_updateState(
void) {
115 _setColor(red_value, green_value, blue_value,
state.
side);
125 void LED::_updateBlink(
void) {
134 void LED::_setColor(
int red_value,
int green_value,
int blue_value,
int side) {
void displayDebug(String)
int void displayInfo(String)
LED(int, int, int, int, int, int)
Header file for error codes
void setState(int, bool blink=false, int side=SIDE_BOTH)
void setup(int, int, int, int, int, int)
Header file for LED class