Control Surface main
MIDI Control Surface library for Arduino
PBSmartPotentiometer.hpp
Go to the documentation of this file.
1#pragma once
2
6
8
10
11namespace Bankable {
12
34template <uint8_t NumBanks>
36 : public SmartMIDIFilteredAnalog<NumBanks, SingleAddress,
37 PitchBendSender<10>> {
38 public:
53 MIDIChannelCable address)
55 SingleAddress{config, address}, analogPin, {}) {}
56};
57
58} // namespace Bankable
59
61
#define END_CS_NAMESPACE
#define BEGIN_CS_NAMESPACE
#define AH_DIAGNOSTIC_POP()
Definition: Warnings.hpp:37
#define AH_DIAGNOSTIC_WERROR()
Definition: Warnings.hpp:36
A class of MIDIOutputElements that read the analog input from a potentiometer or fader,...
PBSmartPotentiometer(BankConfig< NumBanks > config, pin_t analogPin, MIDIChannelCable address)
Create a new Bankable PBSmartPotentiometer object with the given analog pin and channel.
A class for potentiometers and faders that send MIDI events.
A class for saving a MIDI channel and cable number.
Definition: MIDIAddress.hpp:24
Class that sends continuous MIDI pitch bend messages with a resolution of 14 bits.
uint16_t pin_t
The type for Arduino pins (and ExtendedIOElement pins).
A namespace for MIDI elements that can be added to a Bank, to change their address or channel.