Replies: 3 comments 1 reply
-
Beta Was this translation helpful? Give feedback.
-
|
Got it! As I was loosing the console, I didn't get error message that this was (I guess) undefined. Setting the value to 0x6 works... But I don't know if I am doing the correct way of breaking up the longer packet. Seems wrong to use something called 'END' in the middle of the packet. |
Beta Was this translation helpful? Give feedback.
-
|
More tweaking to fix bugs and clean up code and we have: Here it is controlling 'xjadeo'. Script starts at '00:00:00:00' counts for 2mins, then resets to the start, and runs again. |
Beta Was this translation helpful? Give feedback.


Uh oh!
There was an error while loading. Please reload this page.
-
I see that USB Midi has been added (yeah!!), and a simple example suggested:
https://github.com/micropython/micropython-lib/blob/master/micropython/usb/examples/device/midi_example.py
and that runs OK on my RP2040 and see the output on my laptop...
I would like to send Midi MTC (effectively SysEX packets), but there does not appear to be functions for SysEx in:
https://github.com/micropython/micropython-lib/blob/master/micropython/usb/usb-device-midi/usb/device/midi.py#L27
I wrote a test script, but am a bit lost on how to send the packet of data that I have assembled.
mtc_example.py.zip
Anyone got suggestions?
Beta Was this translation helpful? Give feedback.
All reactions