mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-11 10:58:32 +00:00
Update cheatsheets
This commit is contained in:
37
pio-device
Normal file
37
pio-device
Normal file
@@ -0,0 +1,37 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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 (defaults to `CRLF`):
|
||||
|
||||
`pio device monitor --eol {{CRLF|CR|LF}}`
|
||||
|
||||
- Go to the menu of the interactive device monitor:
|
||||
|
||||
`<Ctrl> + T`
|
||||
Reference in New Issue
Block a user