MIDI Control Surface library for Arduino
|
Go to the documentation of this file.
10 template <u
int8_t NumLEDs>
22 uint8_t value = t.getValue();
45 template <u
int8_t NumLEDs>
48 VULEDs(
const PinList<NumLEDs> &ledPins, uint8_t track,
57 VULEDs(
const PinList<NumLEDs> &ledPins, uint8_t track,
80 template <u
int8_t NumBanks, u
int8_t NumLEDs>
93 config, track, channelCN,
decayTime, {ledPins},
void display(uint8_t value) const
Display the given number of LEDs on the LED bar.
A namespace for MIDI elements that can be added to a Bank, to change their address or channel.
A class for MIDI input elements that represent Mackie Control Universal VU meters.
void begin() const
Initialize (set LED pins as outputs).
Names and note and controller numbers for the Mackie Control Universal (MCU) protocol.
void barMode()
Set the mode to bar mode.
constexpr unsigned int Default
Decay one segment/block every 150 ms if no new values are received.
VULEDs(const PinList< NumLEDs > &ledPins, uint8_t track, MIDICNChannel channelCN, unsigned int decayTime=VUDecay::Default)
VULEDs(BankConfig< NumBanks > config, const PinList< NumLEDs > &ledPins, uint8_t track, unsigned int decayTime=VUDecay::Default)
#define BEGIN_CS_NAMESPACE
void setMode(DotBarMode mode)
Set the mode to either dot or bar mode.
DotBarMode
An enumeration type to set an LED display to either bar or dot mode.
void barMode()
Set the mode to bar mode.
AH::DotBarMode getMode() const
Get the dot/bar mode.
void setMode(AH::DotBarMode mode)
Set the mode to either dot or bar mode.
VULEDs(BankConfig< NumBanks > config, const PinList< NumLEDs > &ledPins, uint8_t track, MIDICNChannel channelCN, unsigned int decayTime=VUDecay::Default)
VULEDsCallback(const AH::DotBarDisplayLEDs< NumLEDs > &leds)
AH::DotBarDisplayLEDs< NumLEDs > leds
void dotMode()
Set the mode to dot mode.
A class for MIDI input elements that represent Mackie Control Universal VU meters.
void toggleMode()
Toggle the dot/bar mode.
void dotMode()
Set the mode to dot mode.
A class for saving a MIDI channel and cable number.
void toggleMode()
Toggle the dot/bar mode.
VULEDsCallback< NumLEDs > callback
DotBarMode getMode() const
Get the dot/bar mode.
constexpr static uint8_t FLOOR_CORRECTION
AH::DotBarMode getMode() const
Get the dot/bar mode.
void dotMode()
Set the mode to dot mode.
AH::DotBarMode getMode() const
Get the dot/bar mode.
void barMode()
Set the mode to bar mode.
A struct for selecting the bank of BankableMIDIInputs and the bank type.
void dotMode()
Set the mode to dot mode.
void setMode(AH::DotBarMode mode)
Set the mode to either dot or bar mode.
VULEDs(const PinList< NumLEDs > &ledPins, uint8_t track, unsigned int decayTime=VUDecay::Default)
void toggleMode()
Toggle the dot/bar mode.
constexpr Channel CHANNEL_1
void setMode(AH::DotBarMode mode)
Set the mode to either dot or bar mode.
void barMode()
Set the mode to bar mode.
void toggleMode()
Toggle the dot/bar mode.