-
Notifications
You must be signed in to change notification settings - Fork 972
Adds example with usb midi device #61
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
Adds example with usb midi device #61
Conversation
|
can you please rebase this onto develop |
|
@michalkalinowski- hah, I just did almost the same thing - should have checked the open PRs first! |
|
@kilograham sorry for a late reply, just rebased on develop. |
|
@michalkalinowski- Can you click the "Edit" button at the top of this PR and change the base branch to |
Hmm, I still see #30 among my commits, let me see if I can quickly fix that. |
|
All right, the diff looks ok now :) |
README.md
Outdated
| [dev_hid_composite](usb/device/dev_hid_composite) | Composite HID (mouse + keyboard) example from TinyUSB | ||
| [dev_hid_generic_inout](usb/device/dev_hid_generic_inout) | Generic HID device example from TinyUSB | ||
| [dev_lowlevel](usb/device/dev_lowlevel) | A USB Bulk loopback implemented with direct access to the USB hardware (no TinyUSB) | ||
| [dev_midi](usb/device/dev_midi) | USB midi device example from TinyUSB |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder if it's worth mentioning here that this just sends dummy note data to the host PC? (i.e. it isn't (yet) a fully-fledged USB MIDI hardware interface) 🤷♂️
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good idea, I've updated the readme.
|
Note, this will be subsumed by #99 where we will be using all TinyUSB examples directly |
|
now when we have this (usb host) support https://github.com/raspberrypi/pico-examples/blob/master/usb/host/host_cdc_msc_hid/main.c |
Adds dev_midi example
Ports
midi_testexample from tinyUSB repo. I've cleaned uptusb_config.ha bit and fixed up code formatting to match other pico examples.Testing
Verified that the example builds and sends midi messages (screen shot of Pocket MIDI displaying incoming note on and note off messages):
