Control Surface pin-t-adl
MIDI Control Surface library for Arduino
CCButtonMatrix.hpp
Go to the documentation of this file.
1#pragma once
2
5
7
25template <uint8_t NumRows, uint8_t NumCols>
27 : public MIDIButtonMatrix<DigitalCCSender, NumRows, NumCols> {
28 public:
52 CCButtonMatrix(const PinList<NumRows> &rowPins,
53 const PinList<NumCols> &colPins,
54 const AddressMatrix<NumRows, NumCols> &controllers,
55 MIDIChannelCable channelCN, const DigitalCCSender &sender = {})
57 rowPins, colPins, controllers, channelCN, sender) {}
58};
59
Array2D< uint8_t, NumRows, NumCols > AddressMatrix
Definition: Def.hpp:30
#define END_CS_NAMESPACE
#define BEGIN_CS_NAMESPACE
A class of MIDIOutputElements that read the input from a matrix of momentary push buttons or switches...
CCButtonMatrix(const PinList< NumRows > &rowPins, const PinList< NumCols > &colPins, const AddressMatrix< NumRows, NumCols > &controllers, MIDIChannelCable channelCN, const DigitalCCSender &sender={})
Create a new CCButtonMatrix object with the given pins, controller numbers and channel.
Class that sends MIDI control change messages signifying either "on" or "off".
A class for saving a MIDI channel and cable number.
Definition: MIDIAddress.hpp:24