aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalf Kistner <ralf.kistner@gmail.com>2013-03-18 22:44:46 +0200
committerRalf Kistner <ralf.kistner@gmail.com>2013-03-18 22:44:46 +0200
commit446955917687d163e7b34e4977ce71089650c826 (patch)
treeedb7158ac8549ef11296707d9fd7971d8c079518
parente521a3edd13d66738db04d2451db5a08daeef4a0 (diff)
Fix MIDI example (add call to flush).
-rw-r--r--README.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/README.md b/README.md
index 99d82c9..309899a 100644
--- a/README.md
+++ b/README.md
@@ -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}