Control Surface master
MIDI Control Surface library for Arduino
PBPotentiometer.hpp
Go to the documentation of this file.
1#pragma once
2
5
6#include <MIDI_Outputs/Abstract/MIDIFilteredAnalog.hpp>
8
10
25class PBPotentiometer : public MIDIFilteredAnalog<PitchBendSender<10>> {
26 public:
38 : MIDIFilteredAnalog(analogPin, address, {}) {}
39};
40
42
constexpr Channel CHANNEL_1
Definition: Channel.hpp:118
#define END_CS_NAMESPACE
#define BEGIN_CS_NAMESPACE
#define AH_DIAGNOSTIC_POP()
Definition: Warnings.hpp:36
#define AH_DIAGNOSTIC_WERROR()
Definition: Warnings.hpp:35
A class for saving a MIDI channel and cable number.
Definition: MIDIAddress.hpp:24
A class for potentiometers and faders that send MIDI events.
A class of MIDIOutputElements that read the analog input from a potentiometer or fader,...
PBPotentiometer(pin_t analogPin, MIDIChannelCable address=CHANNEL_1)
Create a new PBPotentiometer object with the given analog pin and channel.
uint16_t pin_t
The type for Arduino pins (and ExtendedIOElement pins).