fix readme
This commit is contained in:
parent
22522dbcf8
commit
81eadd190c
1 changed files with 5 additions and 5 deletions
10
README.md
10
README.md
|
@ -10,21 +10,21 @@ It can be used both as a library and as a CLI program.
|
|||
### Read variable value
|
||||
|
||||
```
|
||||
sergio --baud 19200 get PS
|
||||
./sergio.py get PS
|
||||
ONDAROSS
|
||||
```
|
||||
|
||||
To make it machine readable, just use `--output json`
|
||||
|
||||
```
|
||||
sergio --output json --baud 19200 get PS
|
||||
./sergio.py --output json get PS
|
||||
{"variable": "PS", "value": "ONDAROSS"}
|
||||
```
|
||||
|
||||
### Set the radiotext
|
||||
|
||||
```
|
||||
sergio --baud 19200 set RT1 'www.ondarossa.info'
|
||||
./sergio.py set RT1 'www.ondarossa.info'
|
||||
```
|
||||
|
||||
### Synchronize time and date
|
||||
|
@ -32,7 +32,7 @@ sergio --baud 19200 set RT1 'www.ondarossa.info'
|
|||
This assumes your computer has a correct time and date of course.
|
||||
|
||||
```
|
||||
sergio --baud 19200 synctime Europe/Rome
|
||||
./sergio.py synctime Europe/Rome
|
||||
```
|
||||
|
||||
You can also specify `--save` so that this is saved immediately.
|
||||
|
@ -40,7 +40,7 @@ You can also specify `--save` so that this is saved immediately.
|
|||
### Dump everything
|
||||
|
||||
```
|
||||
sergio --baud 19200 dump > dump.json
|
||||
./sergio.py dump > dump.json
|
||||
```
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue