fix readme

This commit is contained in:
boyska 2023-12-25 00:49:46 +01:00
parent 22522dbcf8
commit 81eadd190c

View file

@ -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
```