Control Surface
stm32
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
:
public
MIDIFilteredAnalog
<ContinuousCCSender> {
20
public
:
32
CCPotentiometer
(
pin_t
analogPin,
MIDIAddress
address
)
33
:
MIDIFilteredAnalog
(analogPin,
address
, {}) {}
34
};
35
36
END_CS_NAMESPACE
MIDIFilteredAnalog.hpp
ContinuousCCSender.hpp
END_CS_NAMESPACE
#define END_CS_NAMESPACE
Definition:
Settings/NamespaceSettings.hpp:10
BEGIN_CS_NAMESPACE
#define BEGIN_CS_NAMESPACE
Definition:
Settings/NamespaceSettings.hpp:9
CCPotentiometer
A class of MIDIOutputElements that read the analog input from a potentiometer or fader,...
Definition:
CCPotentiometer.hpp:19
CCPotentiometer::CCPotentiometer
CCPotentiometer(pin_t analogPin, MIDIAddress address)
Create a new CCPotentiometer object with the given analog pin, controller number and channel.
Definition:
CCPotentiometer.hpp:32
MIDIAddress
A type-safe utility class for saving a MIDI address consisting of a 7-bit address,...
Definition:
MIDIAddress.hpp:141
MIDIFilteredAnalog
A class for potentiometers and faders that send MIDI events.
Definition:
Abstract/MIDIFilteredAnalog.hpp:17
MIDIFilteredAnalog< ContinuousCCSender >::address
MIDIAddress address
Definition:
Abstract/MIDIFilteredAnalog.hpp:82
AH::pin_t
uint16_t pin_t
The type for Arduino pins (and ExtendedIOElement pins).
Definition:
Hardware-Types.hpp:17
Generated by
1.9.4