32 RGLed(byte pa, byte pb);
33 RGLed(byte pa, byte pb, byte c, byte n);
34 RGLed(byte pa, byte pb, byte c, byte n,
bool a);
36 void setOn(byte c, byte n, byte v);
37 void setOff(byte c, byte n, byte v);
42 void setColor(byte r, byte g, byte i);
void setOff(byte c, byte n, byte v)
read the values for note off and update the led state.
Definition: RGLed.cpp:71
Class for handling bi color LEDs.
Definition: RGLed.h:20
void setOnSilent(byte c, byte n, byte v)
read the values for note on and cc, but do not update the led state. (used for banked LEDs)...
Definition: RGLed.cpp:79
void setColor(byte r, byte g, byte i)
set the default on color manually. this color will be enabled if the value 127 is received...
Definition: RGLed.cpp:129
void set()
manually update the LED to the set state (used for banked LEDs)
Definition: RGLed.cpp:102
void setOn(byte c, byte n, byte v)
read the values for note on and cc and update the led state. if the passed channel and number match t...
Definition: RGLed.cpp:37
void setOffSilent(byte c, byte n, byte v)
read the values for note off, but do not update the led state.
Definition: RGLed.cpp:92
RGLed(byte pa, byte pb)
constructor with pin number for red and green.
Definition: RGLed.cpp:11
~RGLed()
Definition: RGLed.cpp:34