2#include <Settings/NamespaceSettings.hpp>
19 midiEventPacket_t packet {0, 0, 0, 0};
21 return {packet.header, packet.byte1, packet.byte2, packet.byte3};
25 midiEventPacket_t packet {p[0], p[1], p[2], p[3]};
#define BEGIN_CS_NAMESPACE
A class for serial-in/parallel-out shift registers, like the 74HC595 that are connected to the SPI bu...
void sendNow()
Transmit the output buffer immediately (not implemented).
MIDIUSBPacket_t read()
Read a single packet. Return a packet of all zeros if there is no packet.
void write(MIDIUSBPacket_t p)
Write a single packet to the output buffer.
bool preferImmediateSend()
No explicit call to sendNow is required.
USBMIDI backend
The actual low-level USB MIDI backend provided by the core libraries.
void begin()
Called once upon initialization.