diff options
| author | Ralf Kistner <ralf.kistner@gmail.com> | 2013-03-18 22:44:46 +0200 |
|---|---|---|
| committer | Ralf Kistner <ralf.kistner@gmail.com> | 2013-03-18 22:44:46 +0200 |
| commit | 446955917687d163e7b34e4977ce71089650c826 (patch) | |
| tree | edb7158ac8549ef11296707d9fd7971d8c079518 | |
| parent | e521a3edd13d66738db04d2451db5a08daeef4a0 (diff) | |
Fix MIDI example (add call to flush).
| -rw-r--r-- | README.md | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -30,6 +30,7 @@ A simple example that echoes MIDI messages back to the PC: MIDIEvent e; e = MIDIUSB.read(); MIDIUSB.write(e); + MIDIUSB.flush(); // Example messages: // Note on, channel 0, middle C (48), normal velocity (64): // e = {0x09, 0x90, 48, 64} |
