Skip to content
This repository has been archived by the owner on Jul 23, 2024. It is now read-only.

Latest commit

 

History

History
68 lines (47 loc) · 1.66 KB

console.md

File metadata and controls

68 lines (47 loc) · 1.66 KB

USB-serial console

The USB-serial console is used by:

Operating systems access USB-serial console distinctly as below. If using MicroPython, the REPL is the default program that runs on the Pico. If the ">>>" prompt isn't seen after connecting, verify that MicroPython is installed on the Pico.

>>> print("Hello")
Hello

Once connected to the console, you can copy-paste in scripts, or use rshell to edit and upload autorun MicroPython scripts.

Windows

Look in Windows Device Manager under "Ports". There should be "COM*" device of a specific number e.g. COM3.

Windows Device Manager ports

Use PuTTY to connect at 115200 baud serial. Under "Serial line" in PuTTY enter "COM3" or whatever device name is seen in Windows Device Manager. This device name may change if you plug the Pico into a different USB port.

PuTTY serial port

macOS

Depending on the Pico program used, the USB-serial device will show up in either of these mount points:

TinyUSB:

ls /dev/cu.usbserial*

or MicroPython REPL:

ls /dev/tty.usbmodem*

Connect using screen like:

screen /dev/tty.usbmodem* 115200

Linux

Connect using screen like:

screen /dev/ttyACM* 115200