Control Surface main
MIDI Control Surface library for Arduino
Loading...
Searching...
No Matches
USBMIDI_MIDIUSB.hpp
Go to the documentation of this file.
2#include <Settings/NamespaceSettings.hpp>
3
4#include <MIDIUSB.h>
5
7
12 return {{midipacket.header, midipacket.byte1, midipacket.byte2,
13 midipacket.byte3}};
14 }
16 midiEventPacket_t msg {d.data[0], d.data[1], d.data[2], d.data[3]};
17 MidiUSB.sendMIDI(msg);
18 }
19 void sendNow() { MidiUSB.flush(); }
20 bool preferImmediateSend() { return true; }
21};
22
#define END_CS_NAMESPACE
#define BEGIN_CS_NAMESPACE
Array< T, N > copyAs(const Array< U, N > &src)
Copy an Array to an Array of a different type.
void write(MIDIUSBPacket_t d)