monitor_port

Type: String | Multiple: No

Port, a number or a device name, or valid URL Handlers.

To print all available serial ports please use pio device list command.

Please note that you can use patterns for serial ports:

Pattern

Meaning

*

matches everything

?

matches any single character

[seq]

matches any character in seq

[!seq]

matches any character not in seq

Example:

[env:custom_monitor_port]
...
; Unix
monitor_port = /dev/ttyUSB1

; Windows, COM1 or COM3
monitor_port = COM[13]

; Socket
monitor_port = socket://localhost:4444