
52
Fox (LP3500)
4.4.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);
Summary of Contents for Fox LP3500
Page 1: ...Fox LP3500 C Programmable Single Board Computer User s Manual 019 0111 081121 L...
Page 6: ...Fox LP3500...
Page 14: ...8 Fox LP3500...
Page 22: ...16 Fox LP3500...
Page 44: ...38 Fox LP3500...
Page 90: ...84 Fox LP3500...
Page 108: ...102 Fox LP3500 glFillCircle glPlotPolygon glFillPolygon...
Page 134: ...128 Fox LP3500...
Page 140: ...134 Fox LP3500...
Page 142: ......