Skip to content

Getting to grips with the USB Host Shield Library #11

Answered by marcel-licence
raichea asked this question in Q&A
Discussion options

You must be logged in to vote

Hi, thank you very much for opening the discussion. Regarding line 112; I think it comes from https://github.com/felis/USB_Host_Shield_2.0/blob/master/examples/USBH_MIDI/USBH_MIDI_dump/USBH_MIDI_dump.ino line 44 ff. There is no check regarding the UsbTaskState but it does call Usb.Task and UsbMidi_Poll(). I've added a lot of output to get information about what is currently going on. Hope this project does still work.
I moved some stuff into the library to avoid having a copy of this file in each project: https://github.com/marcel-licence/ML_SynthTools/blob/main/src/usbMidiHost.h
If it still works it would be easy to integrate in each synth project by setting up the MIDI_VIA_USB_ENABLED d…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@raichea
Comment options

Answer selected by marcel-licence
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants