Control Surface main
MIDI Control Surface library for Arduino
Loading...
Searching...
No Matches
Bankable/PCButton.hpp
Go to the documentation of this file.
1#pragma once
2
6
8
9namespace Bankable {
10
22class PCButton : public MIDIButton<SingleAddress, ProgramChangeSender> {
23 public:
40 : MIDIButton({config, address}, pin, {}) {}
41};
42
43} // namespace Bankable
44
#define END_CS_NAMESPACE
#define BEGIN_CS_NAMESPACE
MIDIButton(SingleAddress bankAddress, pin_t pin, const ProgramChangeSender &sender)
PCButton(OutputBankConfig<> config, pin_t pin, MIDIAddress address)
Create a new PCButton object with the given pin, program number and channel.
A type-safe utility class for saving a MIDI address consisting of a 7-bit address,...
A namespace for MIDI elements that can be added to a Bank, to change their address or channel.
Type for storing pin numbers of Extended Input/Output elements.