-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
413ddfc
commit 00f46c3
Showing
1 changed file
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# pio device | ||
|
||
> Manage and monitor PlatformIO devices. | ||
> More information: <https://docs.platformio.org/en/latest/core/userguide/device/>. | ||
- List all available serial ports: | ||
|
||
`pio device list` | ||
|
||
- List all available logical devices: | ||
|
||
`pio device list --logical` | ||
|
||
- Start an interactive device monitor: | ||
|
||
`pio device monitor` | ||
|
||
- Start an interactive device monitor and listen to a specific port: | ||
|
||
`pio device monitor --port {{/dev/ttyUSBX}}` | ||
|
||
- Start an interactive device monitor and set a specific baud rate (defaults to 9600): | ||
|
||
`pio device monitor --baud {{57600}}` | ||
|
||
- Start an interactive device monitor and set a specific EOL character (defults to `CRLF`): | ||
|
||
`pio device monitor --eol {{CRLF|CR|LF}}` | ||
|
||
- Go to the menu of the interactive device monitor: | ||
|
||
`Ctrl + T` |