Control Surface pin-t-adl
MIDI Control Surface library for Arduino
PBAbsoluteEncoder.hpp
Go to the documentation of this file.
1#pragma once
2
5
7
9
20 public:
47 int16_t multiplier = 1, uint8_t pulsesPerStep = 4)
49 std::move(encoder), address, multiplier, pulsesPerStep, {}) {}
50};
51
53
#define END_CS_NAMESPACE
#define BEGIN_CS_NAMESPACE
#define AH_DIAGNOSTIC_POP()
Definition: Warnings.hpp:36
#define AH_DIAGNOSTIC_WERROR()
Definition: Warnings.hpp:35
Class for reading quadrature encoders, heavily influenced by http://www.pjrc.com/teensy/td_libs_Encod...
Definition: AHEncoder.hpp:21
An abstract class for rotary encoders that send absolute MIDI events.
A class for saving a MIDI channel and cable number.
Definition: MIDIAddress.hpp:24
A class of MIDIOutputElements that read the input of a quadrature (rotary) encoder and send out absol...
PBAbsoluteEncoder(AHEncoder &&encoder, MIDIChannelCable address, int16_t multiplier=1, uint8_t pulsesPerStep=4)
Construct a new PBAbsoluteEncoder object with the given pins, address, channel, speed factor,...
Class that sends continuous MIDI pitch bend messages with a resolution of 14 bits.