Control Surface
main
MIDI Control Surface library for Arduino
Loading...
Searching...
No Matches
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:14
BEGIN_CS_NAMESPACE
#define BEGIN_CS_NAMESPACE
Definition
Settings/NamespaceSettings.hpp:11
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:145
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:90
AH::ExtIO::pin_t
Type for storing pin numbers of Extended Input/Output elements.
Definition
Hardware-Types.hpp:25
Generated by
1.10.0