Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make Serial Monitor work with USB Type: "MIDI" #6

Open
venelinpetrov opened this issue Sep 11, 2016 · 8 comments
Open

Make Serial Monitor work with USB Type: "MIDI" #6

venelinpetrov opened this issue Sep 11, 2016 · 8 comments

Comments

@venelinpetrov
Copy link

Refer to this discussion: https://community.platformio.org/t/teensy-use-serial-monitor-when-usb-type-midi/742

@blackketter
Copy link

Did you try adding -DUSB_MIDI_SERIAL to your platformio.ini build_flags line?

@venelinpetrov
Copy link
Author

@blackketter thanks for the answer. Unfortunately my project doesn't build if I change the build flag to -DUSB_MIDI_SERIAL, saying that usbMIDI is not defined in the current scope. Does this work on your side?

@blackketter
Copy link

I was able to build with this platformio.ini and test serial midi sketch. I'm not set up here to test the actual midi, but it builds and the serial works...

serialmidi.zip

@venelinpetrov
Copy link
Author

I don't use the MIDI.h dependency. As I stated in my previous post I use usbMIDI. It seems to be automatically included with Arduino.h or something, which is the only header file in my project... Any insights?

@jaard
Copy link

jaard commented Aug 8, 2017

@venelinpetrov I'm getting the same error as you. Any progress in the meantime? Did you get it to work?

@venelinpetrov
Copy link
Author

@jaard I use build_flags = -D USB_MIDI and usbMIDI. With this configuration everything works nicely except the monitoring. I haven't tried any more blackketter's solution, because my configuration is technically correct. I don't think I should change it. Better solution would be either to contribute and implement the functionality in question :) or back someone who has time and knowledge:
https://www.bountysource.com/teams/platformio/issues :)

@ivankravets
Copy link
Member

teensy_serialmon could be useful here, see #36

@venelinpetrov
Copy link
Author

Nice! It's been a long time and it will be hard to test it now, but feel free to close the issue, because it's not directly related to PlatfotmIO anyways (and Paul said it will work ;) )

alde103 pushed a commit to valiot/platform-teensy that referenced this issue Mar 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants