Control Surface
1.2.0
MIDI Control Surface library for Arduino
src
MIDI_Outputs
CCPotentiometer.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <
MIDI_Outputs/Abstract/MIDIFilteredAnalog.hpp
>
4
#include <
MIDI_Senders/ContinuousCCSender.hpp
>
5
6
BEGIN_CS_NAMESPACE
7
19
class
CCPotentiometer
20
:
public
MIDIFilteredAnalogAddressable
<ContinuousCCSender> {
21
public
:
33
CCPotentiometer
(
pin_t
analogPin,
const
MIDIAddress
&
address
)
34
:
MIDIFilteredAnalogAddressable
(analogPin,
address
, {}) {}
35
};
36
37
END_CS_NAMESPACE
MIDIAddress
A type-safe utility class for saving a MIDI address consisting of a 7-bit address,...
Definition:
MIDIAddress.hpp:91
AH::pin_t
uint16_t pin_t
The type for Arduino pins (and ExtendedIOElement pins).
Definition:
Hardware-Types.hpp:17
MIDIFilteredAnalog.hpp
BEGIN_CS_NAMESPACE
#define BEGIN_CS_NAMESPACE
Definition:
Settings/NamespaceSettings.hpp:9
END_CS_NAMESPACE
#define END_CS_NAMESPACE
Definition:
Settings/NamespaceSettings.hpp:10
MIDIFilteredAnalogAddressable< ContinuousCCSender >::address
const MIDIAddress address
Definition:
Abstract/MIDIFilteredAnalog.hpp:72
MIDIFilteredAnalogAddressable
A class for potentiometers and faders that send MIDI events.
Definition:
Abstract/MIDIFilteredAnalog.hpp:17
CCPotentiometer
A class of MIDIOutputElements that read the analog input from a potentiometer or fader,...
Definition:
CCPotentiometer.hpp:20
CCPotentiometer::CCPotentiometer
CCPotentiometer(pin_t analogPin, const MIDIAddress &address)
Create a new CCPotentiometer object with the given analog pin, controller number and channel.
Definition:
CCPotentiometer.hpp:33
ContinuousCCSender.hpp
Generated by
1.8.19