48
Fox (LP3500)
4.5.3 Digital I/O
Sets the state of a digital output (
OUT0–OUT9)
.
Remember to call
brdInit
before executing this function.
A runtime error will occur for the following conditions:
1.
channel
or
value
out of range.
2.
brdInit
was not executed before executing
digOut
.
PARAMETERS
channel
is the output channel number (0–9).
value
is the output value (0 or 1).
SEE ALSO
brdInit, digIn, digBankOut
Writes the state of a block of designated digital output channels. The first bank consists of OUT0–
OUT7, the second bank consists of OUT8–OUT9.
A run-time error will occur for the following conditions:
1.
channel
or
value
out of range.
2.
brdInit
was not executed before executing
digOut
.
PARAMETER
bank
is 0 for OUT0–OUT7, 1 for OUT8–OUT9.
value
is an 8-bit output value, where each bit corresponds to one channel. OUT0 and OUT8 are the
least significant bit 0.
RETURN VALUE
None.
SEE ALSO
brdInit, digOut, digBankIn
void digOut(int channel, int value);
void digBankOut(int bank, int value);
Содержание Fox LP3500
Страница 1: ...Fox LP3500 C Programmable Single Board Computer User s Manual 019 0111 041029 E ...
Страница 6: ...Fox LP3500 ...
Страница 14: ...8 Fox LP3500 ...
Страница 22: ...16 Fox LP3500 ...
Страница 86: ...80 Fox LP3500 ...
Страница 120: ...114 Fox LP3500 ...
Страница 130: ...124 Fox LP3500 ...
Страница 134: ...128 Fox LP3500 ...
Страница 138: ...132 Fox LP3500 ...
Страница 142: ...136 Fox LP3500 ...
Страница 144: ......