FastLED 3.9.15
|
unsigned encodeSysEx | ( | const byte * | inData, |
byte * | outSysEx, | ||
unsigned | inLength, | ||
bool | inFlipHeaderBits ) |
Encode System Exclusive messages. SysEx messages are encoded to guarantee transmission of data bytes higher than 127 without breaking the MIDI protocol. Use this static method to convert the data you want to send.
inData | The data to encode. |
outSysEx | The output buffer where to store the encoded message. |
inLength | The length of the input buffer. |
inFlipHeaderBits | True for Korg and other who store MSB in reverse order |
Definition at line 46 of file MIDI.cpp.