Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Revision 1:2380cb43b3ae, committed 2018-05-04
- Comitter:
- ryood
- Date:
- Fri May 04 22:10:20 2018 +0000
- Parent:
- 0:418e035ba7e9
- Commit message:
- first MIDI OUT
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Fri May 04 21:54:39 2018 +0000 +++ b/main.cpp Fri May 04 22:10:20 2018 +0000 @@ -16,14 +16,14 @@ void handleNoteOn(byte inChannel, byte inNote, byte inVelocity) { + midi.sendNoteOn(inNote, inVelocity, inChannel); printNoteOnOff("On ", inChannel, inNote, inVelocity); - midi.sendNoteOn(inNote, inVelocity, inChannel); } void handleNoteOff(byte inChannel, byte inNote, byte inVelocity) { + midi.sendNoteOff(inNote, inVelocity, inChannel); printNoteOnOff("Off", inChannel, inNote, inVelocity); - midi.sendNoteOff(inNote, inVelocity, inChannel); } // -----------------------------------------------------------------------------