Control Surface main
MIDI Control Surface library for Arduino
Loading...
Searching...
No Matches
One-Pot-Both-PB-and-CC.ino

One-Pot-Both-PB-and-CC

https://github.com/tttapa/Control-Surface/issues/40

Bank<3> bank;
IncrementDecrementSelector<3> bankselector {bank, {2, 3}, Wrap::Wrap};
constexpr auto no_address = MIDIAddress::invalid();
constexpr auto no_channel = MIDIChannelCable::invalid();
{bank, A0, {91, no_address, 72}},
{bank, A1, {93, 1, 73}},
{bank, A2, {92, 2, 74}},
{bank, A3, {95, 5, 70}},
};
bank,
A0,
{no_channel, Channel_1, no_channel},
};
void setup() {
Control_Surface.begin();
}
void loop() {
}
constexpr Channel Channel_1
Definition Channel.hpp:118
The main header file that includes all Control-Surface header files.
Control_Surface_ & Control_Surface
A predefined instance of the Control Surface to use in the Arduino sketches.
@ Wrap
When the maximum (minimum) setting is reached, wrap around to the minimum (maximum) setting.
Definition Selector.hpp:17
A class that groups Bankable MIDI Output Elements and Bankable MIDI Input Elements,...
Definition Bank.hpp:94
A class of MIDIOutputElements that read the analog input from a potentiometer or fader,...
A class of MIDIOutputElements that read the analog input from a potentiometer or fader,...
Selector with two buttons (one to increment, one to decrement).
static constexpr MIDIAddress invalid()
Return an invalid address.
static constexpr MIDIChannelCable invalid()
A class for debug MIDI interfaces sending and receiving human-readable MIDI messages over the USB CDC...