error on MIDIUSB
Walfried opened this issue · 1 comments
When I try to compile my scetch I get the error "#error MIDIUSB can only be used with an USB MCU"
My board is an Arduino Mega2560 R3 and it should be working (it's on the list)
https://www.arduino.cc/reference/en/libraries/midiusb/
Any suggestions?
Thanks for the help.
Hi @Walfried. Thanks for taking the time to submit an issue.
That "#error MIDIUSB can only be used with an USB MCU" is correct. This library can only be used with the Arduino boards that have native USB capabilities such as the Leonardo, Micro, MKR, and Nano 33 IoT boards.
The information on the reference page is automatically generated. It lists the official Arduino boards of the AVR architecture, but in this case some of those boards are not supported by this library because they don't have native USB capabilities.
I have passed your report on to the developers of the library reference.