mirror of
https://github.com/tio/tio.git
synced 2026-05-01 14:57:59 +02:00
Update README
This commit is contained in:
parent
e2960c3f82
commit
c16a2a1f94
1 changed files with 5 additions and 0 deletions
|
|
@ -262,6 +262,11 @@ Pipe data to the serial device:
|
|||
$ cat data.bin | tio /dev/ttyUSB0
|
||||
```
|
||||
|
||||
Manipulate modem lines on connect:
|
||||
```
|
||||
$ tio --script "set{DTR=high,RTS=low}; msleep(100); set{DTR=toggle,RTS=toggle}" /dev/ttyUSB0
|
||||
```
|
||||
|
||||
Pipe command to serial device and wait for line response within 1 second:
|
||||
```
|
||||
$ echo "*IDN?" | tio /dev/ttyACM0 --script "expect('\r\n', 1000)" --mute
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue