Control Surface  1.2.0
MIDI Control Surface library for Arduino
PBAbsoluteEncoder.hpp
Go to the documentation of this file.
1 #pragma once
2 
5 
7 
9 
24  public:
49  PBAbsoluteEncoder(const EncoderPinList &pins, const MIDIChannelCN &address,
50  int16_t multiplier = 1, uint8_t pulsesPerStep = 4)
51  : MIDIAbsoluteEncoder(pins, address, multiplier, pulsesPerStep,
52  {}) {}
53 };
54 
56 
MIDIAbsoluteEncoder.hpp
MIDIChannelCN
A class for saving a MIDI channel and cable number.
Definition: MIDIAddress.hpp:19
BEGIN_CS_NAMESPACE
#define BEGIN_CS_NAMESPACE
Definition: Settings/NamespaceSettings.hpp:9
AH_DIAGNOSTIC_POP
#define AH_DIAGNOSTIC_POP()
Definition: Warnings.hpp:36
PitchBendSender
Class that sends continuous MIDI pitch bend messages with a resolution of 14 bits.
Definition: PitchBendSender.hpp:20
MIDIAbsoluteEncoder
An abstract class for rotary encoders that send absolute MIDI events.
Definition: MIDIAbsoluteEncoder.hpp:22
END_CS_NAMESPACE
#define END_CS_NAMESPACE
Definition: Settings/NamespaceSettings.hpp:10
PitchBendSender.hpp
PBAbsoluteEncoder::PBAbsoluteEncoder
PBAbsoluteEncoder(const EncoderPinList &pins, const MIDIChannelCN &address, int16_t multiplier=1, uint8_t pulsesPerStep=4)
Construct a new PBAbsoluteEncoder object with the given pins, address, channel, speed factor,...
Definition: PBAbsoluteEncoder.hpp:49
EncoderPinList
A struct for the pins of a rotary (quadrature) encoder without a switch.
Definition: Def.hpp:44
PBAbsoluteEncoder
A class of MIDIOutputElements that read the input of a quadrature (rotary) encoder and send out absol...
Definition: PBAbsoluteEncoder.hpp:23
AH_DIAGNOSTIC_WERROR
#define AH_DIAGNOSTIC_WERROR()
Definition: Warnings.hpp:35