| 
   
    MIDI Control Surface library for Arduino 
   | 
 
 
 
 
Go to the documentation of this file.
    6 #include <AH/Hardware/ExtendedInputOutput/ExtendedInputOutput.hpp> 
   11 template <u
int8_t NumLEDs>
 
   36 template <u
int8_t RangeLen>
 
   38                                                 NoteCCLED<RangeLen>> {
 
   61 template <u
int8_t RangeLen>
 
   63                                               NoteCCLED<RangeLen>> {
 
   84 template <u
int8_t RangeLen, u
int8_t BankSize>
 
   86                                                 BankSize, NoteCCLED<RangeLen>> {
 
   89                   const PinList<RangeLen> &ledPins,
 
   99 template <u
int8_t BankSize>
 
  101                                                BankSize, NoteCCLED<1>> {
 
  112 template <u
int8_t BankSize>
 
  113 using MIDINoteLED[[deprecated(
"Use NoteValueLED instead")]] =
 
  116 template <u
int8_t RangeLen, u
int8_t BankSize>
 
  118                                               BankSize, NoteCCLED<RangeLen>> {
 
  121                 const PinList<RangeLen> &ledPins,
 
  131 template <u
int8_t BankSize>
 
  
CCRangeLEDs(const PinList< RangeLen > &ledPins, MIDICNChannelAddress address)
 
NoteValueLED(const BankConfig< BankSize > &config, pin_t ledPin, const MIDICNChannelAddress &address)
 
A namespace for MIDI elements that can be added to a Bank, to change their address or channel.
 
CCValueLED(const BankConfig< BankSize > &config, pin_t ledPin, const MIDICNChannelAddress &address)
 
NoteValueLED(pin_t ledPin, MIDICNChannelAddress address)
 
void pinMode(pin_t pin, uint8_t mode)
An ExtIO version of the Arduino function.
 
NoteRangeLEDs(const PinList< RangeLen > &ledPins, MIDICNChannelAddress address)
 
#define BEGIN_CS_NAMESPACE
 
#define AH_DIAGNOSTIC_POP()
 
PinList< NumLEDs > ledPins
 
A type-safe utility class for saving a MIDI address consisting of a 7-bit address,...
 
NoteCCLED(const PinList< NumLEDs > &ledPins)
 
uint16_t pin_t
The type for Arduino pins (and ExtendedIOElement pins).
 
CCRangeLEDs(const BankConfig< BankSize > &config, const PinList< RangeLen > &ledPins, const MIDICNChannelAddress &address)
 
CCValueLED(pin_t ledPin, MIDICNChannelAddress address)
 
void update(const INoteCCValue &t, uint8_t index) override
 
void setThreshold(uint8_t threshold)
 
#define AH_DIAGNOSTIC_WERROR()
 
A struct for selecting the bank of BankableMIDIInputs and the bank type.
 
void begin(const INoteCCValue &t) override
 
virtual uint8_t getValue(uint8_t index) const =0
 
uint8_t getThreshold() const
 
NoteRangeLEDs(const BankConfig< BankSize > &config, const PinList< RangeLen > &ledPins, const MIDICNChannelAddress &address)
 
virtual void updateAll(const INoteCCValue ¬eccval)
 
void digitalWrite(pin_t pin, uint8_t val)
An ExtIO version of the Arduino function.