FastLED 3.9.15
Loading...
Searching...
No Matches

◆ sendSysEx()

template<class Transport, class Settings, class Platform>
void MidiInterface< Transport, Settings, Platform >::sendSysEx ( unsigned inLength,
const byte * inArray,
bool inArrayContainsBoundaries = false )
inline

Generate and send a System Exclusive frame.

Parameters
inLengthThe size of the array to send
inArrayThe byte array containing the data to send
inArrayContainsBoundariesWhen set to 'true', 0xf0 & 0xf7 bytes (start & stop SysEx) will NOT be sent (and therefore must be included in the array). default value for ArrayContainsBoundaries is set to 'false' for compatibility with previous versions of the library.

Definition at line 357 of file MIDI.hpp.

360{
362
363 if (mTransport.beginTransmission(MidiType::SystemExclusiveStart))
364 {
367
368 for (unsigned i = 0; i < inLength; ++i)
369 mTransport.write(inArray[i]);
370
373
374 mTransport.endTransmission();
376 }
377
380}
Transport & mTransport
Definition MIDI.h:267
StatusByte mRunningStatus_TX
Definition MIDI.h:275
The main class for MIDI handling. It is templated over the type of serial port to provide abstraction...
Definition MIDI.h:55
void UpdateLastSentTime()
Definition MIDI.hpp:1385

References InvalidType, mRunningStatus_TX, mTransport, SystemExclusiveEnd, SystemExclusiveStart, and UpdateLastSentTime().

Referenced by thruFilter().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: