Thanks for the link. I am presuming the '.core' package is micropython-lib/micropython/usb/usb-device/usb/device/core.py which needs to be installed on the Pico, along with whatever else is required.Code and examples here: micropython-lib/micropython/usb at master · micropython/micropython-lib
I have only used the low-level "from machine import USBDevice" so have no experience of creating higher level devices, and I couldn't find any tutorials or guides for doing so. Nothing which says what needs to be copied to the Pico, shows how to do that, or how to use what's available.
I expect it's easy enough for those used to using MicroPython-Lib packages, but it would be useful to spell it out for those of us who aren't.
For the OP trying to use 'micropython-lib/micropython/usb/usb-device-midi/usb/device/midi.py', I guess it's trying to use that, perhaps duplicating it, rather than using 'from whatever import midi', 'midiDevice = MIDIInterface()', which is the issue.
Statistics: Posted by hippy — Mon Jun 10, 2024 10:12 am