Skip to content

Commit

Permalink
Man page edits
Browse files Browse the repository at this point in the history
  • Loading branch information
darrylb123 committed Jan 25, 2022
1 parent 558878b commit ef238a5
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions usbrelay.1
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,16 @@ usbrelay \- control or query USB HID relays
.B usbrelay
allows for querying and setting the state of USB HID electrical relays.
If no ACTION is passed, the state of all relays is printed to stdout.
RELID_N=[0|1] sets the N-th relay to off or on.
RELID=NEWID sets the relay ID.
RELID_N=[0|1] sets the N-th relay on module RELID to off or on.

Multiple actions can be performed with one command

eg:

usbrelay REL0A_1=0 REL0A_2=1 REL0B_2=0...

The Relay module ID can be changed on DCTTECH relays:
RELID_0=NEWID sets the relay RELID to NEWID

.SH OPTIONS
.TP
Expand Down

0 comments on commit ef238a5

Please sign in to comment.