| 
   
    MIDI Control Surface library for Arduino 
   | 
 
 
 
 
Go to the documentation of this file.
    3 #if not defined(Encoder_h_) && not defined(IDE) 
    5     "The PJRC Encoder library should be included before the Control-Surface "  \ 
    6     "library. (#include <Encoder.h>)" 
   22 template <
class BankAddress, 
class Sender>
 
   51         long currentPosition = 
encoder.read();
 
  
MIDIRotaryEncoder(BankAddress bankAddress, const EncoderPinList &pins, uint8_t speedMultiply, uint8_t pulsesPerStep, const Sender &sender)
Construct a new MIDIRotaryEncoder.
 
A namespace for MIDI elements that can be added to a Bank, to change their address or channel.
 
const uint8_t speedMultiply
 
uint8_t A
The pin connected to the A pin of the encoder.
 
#define BEGIN_CS_NAMESPACE
 
void update() final override
Update this updatable.
 
void begin() final override
Initialize this updatable.
 
const uint8_t pulsesPerStep
 
An abstract class for rotary encoders that send MIDI events and that can be added to a Bank.
 
A struct for the pins of a rotary (quadrature) encoder without a switch.
 
uint8_t B
The pin connected to the B pin of the encoder.