Callback for Note or CC range or value input that displays the value to a PWM LED. More...
#include <MIDI_Inputs/LEDs/NoteCCRangeLEDs.hpp>
Public Member Functions | |
NoteCCLEDPWM (const PinList< NumLEDs > &ledPins) | |
void | begin (const INoteCCValue &t) override |
Initialize: called once. More... | |
void | update (const INoteCCValue &t, uint8_t index) override |
Update the given index: called when a new message is received for this index. More... | |
virtual void | updateAll (const INoteCCValue ¬eccval) |
Update all values: called when a bank change causes all values to (possibly) change, or when the entire range is reset to zero. More... | |
Private Attributes | |
PinList< NumLEDs > | ledPins |
Callback for Note or CC range or value input that displays the value to a PWM LED.
Definition at line 42 of file NoteCCRangeLEDs.hpp.
|
inline |
Definition at line 44 of file NoteCCRangeLEDs.hpp.
|
inlineoverridevirtual |
Initialize: called once.
Reimplemented from SimpleNoteCCValueCallback.
Definition at line 46 of file NoteCCRangeLEDs.hpp.
|
inlineoverridevirtual |
Update the given index: called when a new message is received for this index.
Implements SimpleNoteCCValueCallback.
Definition at line 52 of file NoteCCRangeLEDs.hpp.
|
inlinevirtualinherited |
Update all values: called when a bank change causes all values to (possibly) change, or when the entire range is reset to zero.
Definition at line 58 of file NoteCCRange.hpp.
|
private |
Definition at line 58 of file NoteCCRangeLEDs.hpp.