Control Surface main
MIDI Control Surface library for Arduino
CCSmartPotentiometer.hpp
Go to the documentation of this file.
1#pragma once
2
6
8
10
11namespace Bankable {
12
31template <uint8_t NumBanks>
33 : public SmartMIDIFilteredAnalog<NumBanks, SingleAddress,
34 ContinuousCCSender> {
35 public:
51 MIDIAddress address)
53 SingleAddress{config, address}, analogPin, {}) {}
54};
55
56} // namespace Bankable
57
59
#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 of MIDIOutputElements that read the analog input from a potentiometer or fader,...
CCSmartPotentiometer(BankConfig< NumBanks > config, pin_t analogPin, MIDIAddress address)
Create a new Bankable CCSmartPotentiometer object with the given analog pin, controller number and ch...
A class for potentiometers and faders that send MIDI events.
Class that sends continuous MIDI control change messages with a resolution of 7 bits.
A type-safe utility class for saving a MIDI address consisting of a 7-bit address,...
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.