#include <AH/STL/bitset>
static_assert(
rows <= 10,
"Error: TC4028 only has 10 outputs");
{1, 2, 3, 4, 5, 6, 7, 8},
{9, 10, 11, 12, 13, 14, 15, 16},
}};
}
}
midi.begin();
}
void loop() {
}
}
}
midi.update();
}
constexpr PinStatus_t LOW
constexpr PinMode_t INPUT
constexpr PinStatus_t HIGH
constexpr PinMode_t OUTPUT
constexpr Channel Channel_1
The main header file that includes all Control-Surface header files.
A type-safe class for MIDI channels.
A class for debug MIDI interfaces sending and receiving human-readable MIDI messages over the USB CDC...
Array< T, N > copyAs(const Array< U, N > &src)
Copy an Array to an Array of a different type.
void pinMode(pin_t pin, PinMode_t mode)
An ExtIO version of the Arduino function.
PinStatus_t digitalRead(pin_t pin)
An ExtIO version of the Arduino function.
void digitalWrite(pin_t pin, PinStatus_t val)
An ExtIO version of the Arduino function.
An array wrapper for easy copying, comparing, and iterating.