Control Surface  1.1.1
MIDI Control Surface library for Arduino
CCButtonLatching.hpp
Go to the documentation of this file.
1 #pragma once
2 
5 
7 
21 class CCButtonLatching : public MIDIButtonLatching<DigitalCCSender> {
22  public:
38  const DigitalCCSender &sender = {})
40 };
41 
AH::pin_t
uint16_t pin_t
The type for Arduino pins (and ExtendedIOElement pins).
Definition: Hardware-Types.hpp:17
DigitalCCSender.hpp
MIDIButtonLatching< DigitalCCSender >::MIDIButtonLatching
MIDIButtonLatching(pin_t pin, const MIDICNChannelAddress &address, const DigitalCCSender &sender)
Construct a new MIDIButtonLatching.
Definition: Abstract/MIDIButtonLatching.hpp:30
MIDIButtonLatching.hpp
BEGIN_CS_NAMESPACE
#define BEGIN_CS_NAMESPACE
Definition: Settings/NamespaceSettings.hpp:9
MIDIButtonLatching
A class for latching buttons and switches that send MIDI events.
Definition: Abstract/MIDIButtonLatching.hpp:17
DigitalCCSender
Definition: DigitalCCSender.hpp:7
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
MIDIButtonLatching< DigitalCCSender >::sender
DigitalCCSender sender
Definition: Abstract/MIDIButtonLatching.hpp:51
CCButtonLatching
A class of MIDIOutputElements that read the input of a latching push button or toggle switch,...
Definition: CCButtonLatching.hpp:21
MIDIButtonLatching< DigitalCCSender >::address
const MIDICNChannelAddress address
Definition: Abstract/MIDIButtonLatching.hpp:48
CCButtonLatching::CCButtonLatching
CCButtonLatching(pin_t pin, const MIDICNChannelAddress &address, const DigitalCCSender &sender={})
Create a new CCButtonLatching object with the given pin, the given controller number and channel.
Definition: CCButtonLatching.hpp:37