readme
This commit is contained in:
parent
a143faecb2
commit
d032dfc6d7
1 changed files with 50 additions and 0 deletions
50
README.md
Normal file
50
README.md
Normal file
|
@ -0,0 +1,50 @@
|
|||
# RDS Encoder library
|
||||
|
||||
This repository contains the code for controlling a Pira.cz P164 RDS Encoder.
|
||||
Both ethernet and USB are supported.
|
||||
|
||||
It can be used both as a library and as a CLI program.
|
||||
|
||||
## CLI examples
|
||||
|
||||
### Read variable value
|
||||
|
||||
```
|
||||
sergio --baud 19200 get PS
|
||||
ONDAROSS
|
||||
```
|
||||
|
||||
To make it machine readable, just use `--output json`
|
||||
|
||||
```
|
||||
sergio --output json --baud 19200 get PS
|
||||
{"variable": "PS", "value": "ONDAROSS"}
|
||||
```
|
||||
|
||||
### Set the radiotext
|
||||
|
||||
```
|
||||
sergio --baud 19200 set RT1 'www.ondarossa.info'
|
||||
```
|
||||
|
||||
### Synchronize time and date
|
||||
|
||||
This assumes your computer has a correct time and date of course.
|
||||
|
||||
```
|
||||
sergio --baud 19200 synctime Europe/Rome
|
||||
```
|
||||
|
||||
You can also specify `--save` so that this is saved immediately.
|
||||
|
||||
### Dump everything
|
||||
|
||||
```
|
||||
sergio --baud 19200 dump > dump.json
|
||||
```
|
||||
|
||||
|
||||
## Name
|
||||
|
||||
Dr. Pira teached us all to [call Sergio](https://www.fumettidellagleba.org/prodotti/scheda/47/11-) whenever
|
||||
you have computer problems.
|
Loading…
Reference in a new issue