Control Surface main
MIDI Control Surface library for Arduino
Loading...
Searching...
No Matches
PBAbsoluteEncoder.hpp
Go to the documentation of this file.
1#pragma once
2
5
7
17class PBAbsoluteEncoder : public MIDIAbsoluteEncoder<PitchBendSender<14>> {
18 public:
45 int16_t multiplier = 1, uint8_t pulsesPerStep = 4)
47 std::move(encoder), address, multiplier, pulsesPerStep, {}) {}
48};
49
#define END_CS_NAMESPACE
#define BEGIN_CS_NAMESPACE
Class for reading quadrature encoders, heavily influenced by http://www.pjrc.com/teensy/td_libs_Encod...
Definition AHEncoder.hpp:24
An abstract class for rotary encoders that send absolute MIDI events.
A class for saving a MIDI channel and cable number.
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.