Commit b2015f82 authored by Alessandro Rubini's avatar Alessandro Rubini

doc: remember users that here dio channels are 0..4

Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
parent a6cd6fd7
......@@ -880,6 +880,11 @@ The arguments have the following meaning
@end table
@b{Note}: This command, like everything else in this package, numbers
channels from 0 through 4, whereas the back panel of the mezzanine
numbers them 1 through 5. My devices have no panel, so I just made
the wrong guess.
The current version of the tool supports the following commands:
@table @code
......@@ -982,6 +987,11 @@ The program just fires a 1ms-long @i{pps} pulse on one of the output
channels. The device name defaults to @i{wr0} but can specify a different one;
the channel number is a mandatory argument.
@b{Note}: This command, like everything else in this package, numbers
channels from 0 through 4, whereas the back panel of the mezzanine
numbers them 1 through 5. My devices have no panel, so I just made
the wrong guess.
@example
# run pps on channel 2 of the default SPEC card
./wr-dio-pps 2
......@@ -1087,6 +1097,8 @@ delay to local channel 4. Please note that the delays should be no
more than the interval between input pulses, because the tools
reprograms all output triggers at each input event.
@b{Note}: As usual, channels are numbered 0 through 4.
@example
wr-dio-ruler wr1 IN0 L3+0.001 R3+0.001 L4+0.002
@end example
......
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