| 
   
    MIDI Control Surface library for Arduino 
   | 
 
 
 
 
Go to the documentation of this file.
   59 #if defined(Encoder_h_) || defined(IDE) 
   70 template <setting_t N>
 
   98 template <setting_t N>
 
  104                                    const PinList<N> &ledPins,
 
  128 template <setting_t N>
 
  156 template <setting_t N>
 
  162                             const PinList<N> &ledPins)
 
  184 template <setting_t N>
 
  190                               const PinList<N> &ledPins)
 
  
void pinMode(pin_t pin, uint8_t mode)
An ExtIO version of the Arduino function.
 
SwitchSelectorLED(Selectable< 2 > &selectable, const AH::Button &button, pin_t ledPin)
 
AH::IncrementButton button
 
ProgramChangeSelectorLEDs(Selectable< N > &selectable, const MIDICNChannel &address, const PinList< N > &ledPins)
 
uint16_t pin_t
The type for Arduino pins (and ExtendedIOElement pins).
 
void update(setting_t oldSetting, setting_t newSetting)
Called when the setting changes.
 
void update()
Refresh, called periodically.
 
EncoderSelectorLEDs(Selectable< N > &selectable, const EncoderSwitchPinList &pins, const PinList< N > &ledPins, int8_t pulsesPerStep=4, Wrap wrap=Wrap::Wrap)
 
#define BEGIN_CS_NAMESPACE
 
Selector with two buttons (one to increment, one to decrement). This version displays the setting usi...
 
IncrementSelectorLEDs(Selectable< N > &selectable, const AH::Button &button, const PinList< N > &ledPins, Wrap wrap=Wrap::Wrap)
 
SelectorSingleLEDCallback(pin_t ledPin)
 
Wrap
An enumeration to set the behavior of selectors that are incremented (decremented) beyond their maxim...
 
IncrementDecrementSelectorLEDs(Selectable< N > &selectable, const AH::IncrementDecrementButtons &buttons, const PinList< N > &ledPins, Wrap wrap=Wrap::Wrap)
 
void update()
Refresh, called periodically.
 
A class for saving a MIDI channel and cable number.
 
Selector that selects one of two settings, based on the state of a toggle or momentary switch....
 
SelectorLEDsCallback(const PinList< N > &ledPins)
 
void update(setting_t oldSetting, setting_t newSetting)
Called when the setting changes.
 
uint8_t setting_t
The type used for Selectors.
 
When the maximum (minimum) setting is reached, wrap around to the minimum (maximum) setting.
 
Selector that reads from a rotary encoder. This version displays the setting using LEDs.
 
Selectable< N > & selectable
 
void digitalWrite(pin_t pin, uint8_t val)
An ExtIO version of the Arduino function.
 
AH::IncrementDecrementButtons buttons
 
Selector that listens for MIDI Program Change events on a given MIDI Channel, and uses the program nu...
 
Selector with one button that increments the selection. This version displays the setting using LEDs.
 
A struct for the pins of a rotary (quadrature) encoder with a switch.