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

◆ sendRealTime()

template<class Transport, class Settings, class Platform>
void MidiInterface< Transport, Settings, Platform >::sendRealTime ( MidiType inType)
inline

Send a Real Time (one byte) message.

Parameters
inTypeThe available Real Time types are: Start, Stop, Continue, Clock, ActiveSensing and SystemReset.
See also
MidiType

Definition at line 492 of file MIDI.hpp.

493{
494 // Do not invalidate Running Status for real-time messages
495 // as they can be interleaved within any message.
496
497 switch (inType)
498 {
499 case Clock:
500 case Start:
501 case Stop:
502 case Continue:
503 case ActiveSensing:
504 case SystemReset:
505 if (mTransport.beginTransmission(inType))
506 {
507 mTransport.write((byte)inType);
508 mTransport.endTransmission();
510 }
511 break;
512 default:
513 // Invalid Real Time marker
514 break;
515 }
516}
Transport & mTransport
Definition MIDI.h:267
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 ActiveSensing, Clock, Continue, mTransport, Start, Stop, SystemReset, and UpdateLastSentTime().

Referenced by send(), sendActiveSensing(), sendClock(), sendContinue(), sendStart(), sendStop(), sendSystemReset(), sendTick(), and thruFilter().

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