52 this->
dirty |= newdirty;
81template <u
int8_t BankSize>
110 this->
dirty |= newdirty;
constexpr Channel Channel_1
#define BEGIN_CS_NAMESPACE
A class for collections of LEDs that can display ranges.
LEDs(const PinList< N > &ledPins)
Create a LEDs object.
void begin() const
Initialize (set LED pins as outputs).
void displayRange(uint16_t startOn, uint16_t startOff) const
Turn on a range of the LEDs.
A class for serial-in/parallel-out shift registers, like the 74HC595 that are connected to the SPI bu...
A MIDI input element that represents a Mackie Control Universal VPot ring and displays its value usin...
void onBankSettingChange() override
A function to be executed each time the bank setting changes.
void begin() override
Initialize the input element.
VPotRingLEDs(BankConfig< BankSize > config, const PinList< 11 > &leds, uint8_t track, MIDIChannelCable channelCN=Channel_1)
Constructor.
void handleUpdate(typename Matcher::Result match) override
typename Parent::Matcher Matcher
void reset() override
Reset all states to zero.
A MIDI input element that represents a Mackie Control Universal VPot ring.
BankableVPotMatcher< BankSize > Matcher
void onBankSettingChange() override
A function to be executed each time the bank setting changes.
VPotState getState() const
Get the full state of the VPot ring. (For the active bank.)
bool handleUpdateImpl(typename Matcher::Result match)
void reset() override
Reset all states to zero.
VPotRingLEDsDriver(const AH::LEDs< 11 > &leds)
void displayVPot(VPotState v)
A MIDI input element that represents a Mackie Control Universal VPot ring and displays it using LEDs.
void begin() override
Initialize the input element.
void handleUpdate(typename Matcher::Result match) override
void reset() override
Reset the state to zero.
VPotRingLEDs(const PinList< 11 > &leds, uint8_t track, MIDIChannelCable channelCN=Channel_1)
Constructor.
A MIDI input element that represents a Mackie Control Universal VPot ring.
VPotRing(uint8_t track, MIDIChannelCable channelCN=Channel_1)
Constructor.
VPotState getState() const
Get the full state of the VPot ring.
bool handleUpdateImpl(typename Matcher::Result match)
void reset() override
Reset the state to zero.
A class for saving a MIDI channel and cable number.
A namespace for MIDI elements that can be added to a Bank, to change their address or channel.
MIDI Input matcher for Mackie Control Universal VPot LED rings.
Struct that keeps track of the value and overload indicator of a Mackie Control Universal VPot LED ri...
uint8_t getStartOff() const
Get the first segment that should be off.
uint8_t getStartOn() const
Get the first segment that should be on.