Commit 0fcee207 authored by Alén Arias Vázquez's avatar Alén Arias Vázquez 😎

added help

parent 4154b0f7
......@@ -5,6 +5,25 @@
python class to control remotely the power supply bia USB
## How to use it
'''console
```console
python3 cpx400dp -h
'''
```
the help menu is shown below:
```bash
usage: cpx400dp.py [-h] [--device DEVICE] [--baudrate BAUDRATE] [--chan CHAN] [--volts VOLTS] [--amps AMPS] [--powerup]
Control CPX400DP from USB
optional arguments:
-h, --help show this help message and exit
--device DEVICE, -D DEVICE
Linux device name (default: /dev/tty_CPX)
--baudrate BAUDRATE, -b BAUDRATE
Serial baudrate (default: 115200)
--chan CHAN, -C CHAN Channel selector (default: 1)
--volts VOLTS, -V VOLTS
Volts (default: 12.0)
--amps AMPS, -A AMPS Amps (default: 0.2)
--powerup Switch On requested channel with requested values (default: False)
```
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment