I lifted the following code from the forum, related to generating a sustaining code "CC64" for midi. However using 1.6.3 I have the following errors. Any help here would be appreciated:
Arduino: 1.6.3 (Windows 7), Board: "Arduino Nano, ATmega328"
sketch_may04a_logan_midi.ino: In function 'void setup()':
sketch_may04a_logan_midi.ino:37:3: error: 'MIDI' was not declared in this scope
sketch_may04a_logan_midi.ino: In function 'void loop()':
sketch_may04a_logan_midi.ino:54:5: error: 'MIDI' was not declared in this scope
sketch_may04a_logan_midi.ino:56:5: error: 'MIDI' was not declared in this scope
Error compiling.
This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.
Sustain_midi.ino (1.14 KB)