This is an old version of the documentation. View the latest version here.
Control Surface  1.0.0
MIDI Control Surface library for Arduino
CCButtonLatched.hpp
Go to the documentation of this file.
1 /* ✔ */
2 
3 #pragma once
4 
7 
9 
23 class CCButtonLatched : public MIDIButtonLatched<DigitalCCSender> {
24  public:
40  const DigitalCCSender &sender = {})
41  : MIDIButtonLatched{pin, address, sender} {}
42 };
43 
MIDIButtonLatched< DigitalCCSender >::sender
DigitalCCSender sender
Definition: Abstract/MIDIButtonLatched.hpp:76
pin_t
uint16_t pin_t
The type for Arduino pins (and ExtendedIOElement pins).
Definition: Def.hpp:17
DigitalCCSender.hpp
DigitalCCSender
Definition: DigitalCCSender.hpp:7
BEGIN_CS_NAMESPACE
#define BEGIN_CS_NAMESPACE
Definition: NamespaceSettings.hpp:9
MIDICNChannelAddress
A type-safe utility class for saving a MIDI address consisting of a 7-bit address,...
Definition: MIDICNChannelAddress.hpp:82
MIDIButtonLatched< DigitalCCSender >::address
const MIDICNChannelAddress address
Definition: Abstract/MIDIButtonLatched.hpp:72
END_CS_NAMESPACE
#define END_CS_NAMESPACE
Definition: NamespaceSettings.hpp:10
MIDIButtonLatched.hpp
CCButtonLatched
A class of MIDIOutputElements that read the input of a momentary push button or toggle switch,...
Definition: CCButtonLatched.hpp:23
CCButtonLatched::CCButtonLatched
CCButtonLatched(pin_t pin, const MIDICNChannelAddress &address, const DigitalCCSender &sender={})
Create a new CCButtonLatched object on the given pin and with address.
Definition: CCButtonLatched.hpp:39
MIDIButtonLatched
A class for momentary buttons and switches that send MIDI events.
Definition: Abstract/MIDIButtonLatched.hpp:20