I'm trying to run the MIDI example from Arduino.CC in Arduino Studio.
I am using an Arduino Leonardo, which has USB HID capabilities. I have installed the library as mentioned:
When I press the compile or upload button, it says:
'D3' was not declared in this scope
What's wrong? How do I fix this?