Use the second USB serial? #12552
-
Hello, under CircuitPython, you can have two USB serials running on the 2040. I was wondering if there was a way to do this on MicroPython? It's very useful as you can have the first serial console be debug logging & REPL where have the second one be 100% dedicated to data transfer. https://docs.circuitpython.org/en/latest/shared-bindings/usb_cdc/index.html |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
You can have 2 UART in MicroPython
|
Beta Was this translation helpful? Give feedback.
-
@foxt That is a very neat feature. Sadly I don't think MP supports it. |
Beta Was this translation helpful? Give feedback.
-
@foxt This is supported in MicroPython on other boards (e.g. stm32 boards such as the pyboard). Much more expanded support for USB device classes (e.g. midi, hid, etc) as well as defining additional CDC interfaces will be supported on rp2/Pico soon. See #9497 |
Beta Was this translation helpful? Give feedback.
@foxt That is a very neat feature. Sadly I don't think MP supports it.