14template <u
int8_t NumLEDs>
29template <MIDIMessageType Type, u
int8_t NumLEDs>
67template <u
int8_t NumLEDs>
77template <u
int8_t NumLEDs>
87template <u
int8_t NumLEDs>
99template <MIDIMessageType Type, u
int8_t BankSize, u
int8_t NumLEDs>
121 this->
dirty |= newdirty;
157template <u
int8_t BankSize, u
int8_t NumLEDs>
170template <u
int8_t BankSize, u
int8_t NumLEDs>
184template <u
int8_t BankSize, u
int8_t NumLEDs>
#define BEGIN_CS_NAMESPACE
void display(uint16_t value) const
DotBarDisplayLEDs(const PinList< N > &ledPins)
void begin() const
Initialize (set LED pins as outputs).
Class that turns on a different number of LEDs depending on the received MIDI velocity,...
NoteCCKPValue< Type, BankSize > Parent
void onBankSettingChange() override
A function to be executed each time the bank setting changes.
void begin() override
Initialize the input element.
NoteCCKPLEDBar(BankConfig< BankSize > config, const AH::PinList< NumLEDs > &leds, MIDIAddress address)
void handleUpdate(typename Matcher::Result match) override
typename Parent::Matcher Matcher
void reset() override
Reset the input element to its initial state.
void onBankSettingChange() override
A function to be executed each time the bank setting changes.
bool handleUpdateImpl(typename Matcher::Result match)
BankableTwoByteMIDIMatcher< BankSize > Matcher
NoteCCKPValue(BankConfig< BankSize > config, MIDIAddress address)
uint8_t getValue() const override
Get the most recent MIDI value that was received for the active bank.
void reset() override
Reset all values to zero.
A type-safe utility class for saving a MIDI address consisting of a 7-bit address,...
void displayBar(uint8_t value)
NoteCCKPLEDBarDriver(const AH::PinList< NumLEDs > &leds)
Class that turns on a different number of LEDs depending on the received MIDI velocity,...
MatchingMIDIInputElement< Type, Matcher > Parent
void begin() override
Initialize the input element.
TwoByteMIDIMatcher Matcher
void handleUpdate(typename Matcher::Result match) override
void reset() override
Reset the input element to its initial state.
NoteCCKPLEDBar(const AH::PinList< NumLEDs > &leds, MIDIAddress address)
Array< pin_t, N > PinList
An easy alias for arrays of pins.
A namespace for MIDI elements that can be added to a Bank, to change their address or channel.
Matcher for MIDI messages with 2 data bytes, such as Note On/Off, Control Change, Key Pressure (but n...