https://github.com/kanaya/midi-timer

Dependencies:   MIDI mbed-rtos mbed

Revision:
1:cb68a764ab9d
Parent:
0:12da9c671126
--- a/main.cpp	Mon Oct 14 05:41:11 2013 +0000
+++ b/main.cpp	Wed Oct 23 04:45:03 2013 +0000
@@ -82,7 +82,7 @@
         // Send MIDI note on
         leds[num] = 1;
         midiMutex.lock();
-        midi.sendNoteOn(notes[num], 127, num + 1);
+        midi.sendNoteOn(notes[num], 127, 1);
         midiMutex.unlock();
         // On-interval
         Thread::wait(interval1 + MIN_ON_INTERVAL);