Metro M4 USB Serial communication

CircuitPython on hardware including Adafruit's boards, and CircuitPython libraries using Blinka on host computers.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
pabgarmi
 
Posts: 1
Joined: Wed Dec 26, 2018 2:23 am

Metro M4 USB Serial communication

Post by pabgarmi »

Hello,

I am looking for an example (CircuitPython preferred) that shows how to configure the Metro M4 USB port to be used for serial communication to receive commands from a PC.
So far, the only examples I was able to find use busio.UART, but I am really looking at using the USB port instead.

Thank you!

User avatar
adafruit_support_mike
 
Posts: 67446
Joined: Thu Feb 11, 2010 2:51 pm

Re: Metro M4 USB Serial communication

Post by adafruit_support_mike »

[moved to the CircuitPython forum]

User avatar
tannewt
 
Posts: 3304
Joined: Thu Oct 06, 2016 8:48 pm

Re: Metro M4 USB Serial communication

Post by tannewt »

It's possible using Python's input function but its tricky because it must be text. We want to make it easier in the future and have an issue for it here: https://github.com/adafruit/circuitpython/issues/231

Locked
Please be positive and constructive with your questions and comments.

Return to “Adafruit CircuitPython”