tttapa / Control-Surface

Arduino library for creating MIDI controllers and other MIDI devices.
GNU General Public License v3.0
1.23k stars 139 forks source link

Control Change Potentiometer Example doesn't compile for Teensy 4.1 #946

Open jaaaamIron opened 1 year ago

jaaaamIron commented 1 year ago

Hi. The included library example "Control Change Potentiometer" doesn't compile for Teensy 4.1. I haven't made any changes to the included code in the latest version of the library. Here is the error: Compilation error: 'USBMIDI_Interface' does not name a type

tttapa commented 1 year ago

You need to select the correct USB type to be able to use MIDI over USB (when encountering an error, it is a good idea to scroll up to the very first message: you should have received a warning saying #warning "Teensy: USB MIDI not enabled. Enable it from the Tools > USB Type menu.").
See also Control Surface: MIDI over USB.