Control Surface main
MIDI Control Surface library for Arduino
CCButton.hpp
Go to the documentation of this file.
1#pragma once
2
5
7
20class CCButton : public MIDIButton<DigitalCCSender> {
21 public:
37 : MIDIButton(pin, address, sender) {}
38};
39
#define END_CS_NAMESPACE
#define BEGIN_CS_NAMESPACE
A class of MIDIOutputElements that read the input of a momentary push button or switch,...
Definition: CCButton.hpp:20
CCButton(pin_t pin, MIDIAddress address, const DigitalCCSender &sender={})
Create a new CCButton object with the given pin, the given controller number and channel.
Definition: CCButton.hpp:36
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,...
An abstract class for momentary push buttons that send MIDI events.
MIDIButton(pin_t pin, MIDIAddress address, const DigitalCCSender &sender)
Construct a new MIDIButton.
uint16_t pin_t
The type for Arduino pins (and ExtendedIOElement pins).