Control Surface master
MIDI Control Surface library for Arduino
Bankable/CCButtonLatched.hpp
Go to the documentation of this file.
1/* ✔ */
2
3#pragma once
4
8
10
11namespace Bankable {
12
28template <uint8_t NumBanks>
30 : public MIDIButtonLatched<NumBanks, SingleAddress, DigitalCCSender> {
31 public:
50 const DigitalCCSender &sender = {})
52 {config, address}, pin, sender) {}
53};
54
55} // namespace Bankable
56
#define END_CS_NAMESPACE
#define BEGIN_CS_NAMESPACE
A class of MIDIOutputElements that read the input of a momentary push button, and send out MIDI Contr...
CCButtonLatched(BankConfig< NumBanks > config, pin_t pin, MIDIAddress address, const DigitalCCSender &sender={})
Create a new bankable CCButtonLatched object on the given pin and with address.
A class for momentary buttons and switches that send MIDI events.
Class that sends MIDI control change messages signifying either "on" or "off".
A type-safe utility class for saving a MIDI address consisting of a 7-bit address,...
uint16_t pin_t
The type for Arduino pins (and ExtendedIOElement pins).
A namespace for MIDI elements that can be added to a Bank, to change their address or channel.