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
Display the given number of LEDs on the LED bar.
DotBarDisplayLEDs(const PinList< N > &ledPins)
Constructor from list of pins.
void begin() const
Initialize (set LED pins as outputs).
A class for serial-in/parallel-out shift registers, like the 74HC595 that are connected to the SPI bu...
Class that turns on a different number of LEDs depending on the received MIDI velocity,...
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.
Generic base class for classes that listen for MIDI Note, Control Change and Key Pressure events on a...
void onBankSettingChange() override
A function to be executed each time the bank setting changes.
bool handleUpdateImpl(typename Matcher::Result match)
BankableTwoByteMIDIMatcher< BankSize > Matcher
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,...
Callback class that drives a LED dot/bar display based on a note or control change value.
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,...
void begin() override
Initialize the input element.
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)
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...