aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalf Kistner <ralf@embarkmobile.com>2014-09-16 10:21:55 +0200
committerRalf Kistner <ralf@embarkmobile.com>2014-09-16 10:21:55 +0200
commitb21ad94e6145de21881ab499396c0eedfd0cc471 (patch)
tree80fc6786b03ecbf30219c0c829ff98ddb5f50cd0
parent4221b24b041dbaaf58d0e3bcfc7a5c202cc31260 (diff)
Update README.md
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index 6f9ebc5..7361272 100644
--- a/README.md
+++ b/README.md
@@ -55,7 +55,7 @@ void noteOff(byte channel, byte pitch, byte velocity) {
// Fourth parameter is the control value (0-127).
void controlChange(byte channel, byte control, byte value) {
- MIDIEvent event = {0x0B, 0xB0 | channel, pitch, velocity};
+ MIDIEvent event = {0x0B, 0xB0 | channel, control, value};
MIDIUSB.write(event);
}