Control Surface main
MIDI Control Surface library for Arduino
Bankable/PBPotentiometer.hpp
Go to the documentation of this file.
1#pragma once
2
5
6#include <Banks/BankAddresses.hpp>
9
11
12namespace Bankable {
13
29 : public MIDIFilteredAnalog<SingleAddress, PitchBendSender<10>> {
30 public:
46 : MIDIFilteredAnalog{{config, address}, analogPin, {}} {}
47};
48
49} // namespace Bankable
50
52
#define END_CS_NAMESPACE
#define BEGIN_CS_NAMESPACE
#define AH_DIAGNOSTIC_POP()
Definition: Warnings.hpp:53
#define AH_DIAGNOSTIC_WERROR()
Definition: Warnings.hpp:52
A class for potentiometers and faders that send MIDI events and can be added to a Bank.
A class of MIDIOutputElements that read the analog input from a potentiometer or fader,...
PBPotentiometer(OutputBankConfig< BankType::CHANGE_CHANNEL > config, pin_t analogPin, MIDIChannelCable address)
Create a new Bankable PBPotentiometer object with the given analog pin and channel.
A class for saving a MIDI channel and cable number.
Definition: MIDIAddress.hpp:24
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.