We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58f7e7d commit f965867Copy full SHA for f965867
README.md
@@ -37,9 +37,8 @@ will create a instance named `usbMIDI` and is connected to cable number 4.
37
```cpp
38
#include <USB-MIDI.h>
39
...
40
-typedef USBMIDI_NAMESPACE::usbMidiTransport __umt;
41
-__umt usbMIDI2(5);
42
-MIDI_NAMESPACE::MidiInterface<__umt> MIDI2((__umt&)usbMIDI);
+USBMIDI_NAMESPACE::usbMidiTransport usbMIDI(CableNr);
+MIDI_NAMESPACE::MidiInterface<USBMIDI_NAMESPACE::usbMidiTransport> MIDI((USBMIDI_NAMESPACE::usbMidiTransport&)usbMIDI);
43
```
44
will create a instance named `usbMIDI2` (and underlaying MIDI object `MIDI2`) and is by default connected to cable number 5.
45
0 commit comments