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!
Metro M4 USB Serial communication
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- adafruit_support_mike
- Posts: 67446
- Joined: Thu Feb 11, 2010 2:51 pm
Re: Metro M4 USB Serial communication
[moved to the CircuitPython forum]
- tannewt
- Posts: 3304
- Joined: Thu Oct 06, 2016 8:48 pm
Re: Metro M4 USB Serial communication
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
Please be positive and constructive with your questions and comments.