81template <u
int8_t BankSize>
constexpr Channel Channel_1
#define BEGIN_CS_NAMESPACE
A class for collections of LEDs that can display ranges.
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 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.
Array< T, N > copyAs(const Array< U, N > &src)
Copy an Array to an Array of a different type.
A namespace for MIDI elements that can be added to a Bank, to change their address or channel.
An array wrapper for easy copying, comparing, and iterating.
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 getStartOn() const
Get the first segment that should be on.