PlatformIO Community

Trouble getting usbMIDI to work on Teensy 3.6

I’m having some problems getting usbMIDI to work on my Teensy 3.6. The compiler keeps coming back with the following errors:

‘usbMIDI’ was not declared in this scope
identifier “usbMIDI” is undefined

My configuration is the following:
[env:teensy36]
platform = teensy
board = teensy36
framework = arduino
buidl_flags = -D USB_MIDI

I’m using core version 4.3.4 if that’s relevant.

Some help would be really appreciated!

Looks like it’s just a typo - build_flags, not buidl_flags :wink:

1 Like

5 hours wasted…
Thanks!

2 Likes