Control Surface
1.1.1
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
:
35
CCPotentiometer
(
pin_t
analogPin,
const
MIDICNChannelAddress
&
address
,
36
const
ContinuousCCSender
&
sender
= {})
37
:
MIDIFilteredAnalogAddressable
(analogPin,
address
,
sender
) {}
38
};
39
40
END_CS_NAMESPACE
MIDIFilteredAnalogAddressable< ContinuousCCSender >::address
const MIDICNChannelAddress address
Definition:
Abstract/MIDIFilteredAnalog.hpp:73
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
CCPotentiometer::CCPotentiometer
CCPotentiometer(pin_t analogPin, const MIDICNChannelAddress &address, const ContinuousCCSender &sender={})
Create a new CCPotentiometer object with the given analog pin, controller number and channel.
Definition:
CCPotentiometer.hpp:35
MIDIFilteredAnalogAddressable< ContinuousCCSender >::sender
ContinuousCCSender sender
Definition:
Abstract/MIDIFilteredAnalog.hpp:76
END_CS_NAMESPACE
#define END_CS_NAMESPACE
Definition:
Settings/NamespaceSettings.hpp:10
MIDICNChannelAddress
A type-safe utility class for saving a MIDI address consisting of a 7-bit address,...
Definition:
MIDICNChannelAddress.hpp:82
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:19
ContinuousCCSender.hpp
ContinuousCCSender
Definition:
ContinuousCCSender.hpp:7
MIDIFilteredAnalogAddressable< ContinuousCCSender >::MIDIFilteredAnalogAddressable
MIDIFilteredAnalogAddressable(pin_t analogPin, const MIDICNChannelAddress &address, const ContinuousCCSender &sender)
Construct a new MIDIFilteredAnalog.
Definition:
Abstract/MIDIFilteredAnalog.hpp:30
Generated by
1.8.16