Control Surface main
MIDI Control Surface library for Arduino
Loading...
Searching...
No Matches
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,
56 const DigitalCCSender &sender = {})
57 : MIDIButtonMatrix<DigitalCCSender, NumRows, NumCols>(
58 rowPins, colPins, controllers, channelCN, sender) {}
59};
60
Array2D< uint8_t, NumRows, NumCols > AddressMatrix
Definition Def.hpp:30
#define END_CS_NAMESPACE
#define BEGIN_CS_NAMESPACE
const PinList< NumRows > rowPins
const PinList< NumCols > colPins
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.