diff options
| author | Ralf Kistner <ralf@embarkmobile.com> | 2014-09-16 10:21:55 +0200 |
|---|---|---|
| committer | Ralf Kistner <ralf@embarkmobile.com> | 2014-09-16 10:21:55 +0200 |
| commit | b21ad94e6145de21881ab499396c0eedfd0cc471 (patch) | |
| tree | 80fc6786b03ecbf30219c0c829ff98ddb5f50cd0 | |
| parent | 4221b24b041dbaaf58d0e3bcfc7a5c202cc31260 (diff) | |
Update README.md
| -rw-r--r-- | README.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); } |
