dual USB_VCP

General discussions and questions abound development of code with MicroPython that is not hardware specific.
Target audience: MicroPython Users.
Post Reply
bennyboos
Posts: 2
Joined: Tue Feb 12, 2019 5:11 pm

dual USB_VCP

Post by bennyboos » Tue Feb 12, 2019 5:30 pm

Hello everyone,
I'm relatively new to python and have been playing with a pyboard1.1 for a few days now.
Seems nice and simple for a newbie :oops: .

I just installed the latest firmware release (1.10) and this mentioned something about 2x VCP but I don't understand how to enable/access the second comm port ?
As it stands I'm plugging the pyboard into my Mac and connecting to it using "screen /dev/tty.usbmodem355..."
I naively thought that if this new firmware gave us access to 2 VCPs that I would now see two modems but I don't ?

Maybe I've just got that wrong but if it IS possible I want to be able to do the following:-
Use the main (primary?) VCP as usual to send commands and receive status signal back from my python code.
On the secondary VCP I want to use this to relay information to/from one of the UARTS on the pyboard.

Any advice gratefully received.
Thanks Ben

Post Reply