This is an old version of the documentation. View the latest version
here.
Control Surface
1.0.0
MIDI Control Surface library for Arduino
|
bool add(uint8_t data)
Add a byte to the current SysEx message.
size_t getLength() const
Get the length of the SysEx message in the buffer.
bool isReceiving() const
Check if the buffer is receiving a SysEx message.
#define BEGIN_CS_NAMESPACE
const uint8_t * getBuffer() const
Get a pointer to the buffer.
bool hasSpaceLeft() const
Check if the buffer has at least 1 byte of free space available.
void start()
Start a new SysEx message.
constexpr size_t SYSEX_BUFFER_SIZE
The length of the maximum System Exclusive message that can be received.
void end()
Finish the current SysEx message.
uint8_t SysExBuffer[SYSEX_BUFFER_SIZE]