
User’s Manual
53
Reads the state of an input channel (IN00–IN15).
A run-time error will occur for the following conditions:
1.
channel
out of range.
2.
brdInit
was not executed before executing
digIn
.
PARAMETER
channel
is the input channel number (0–15)
RETURN VALUE
The logic state of the input (0 or 1).
SEE ALSO
brdInit, digOut, digBankIn
Reads the state of a block of designated digital input channels. The first bank consists of IN0–IN07, the
second bank consists of IN08–IN15.
A run-time error will occur for the following conditions:
1.
bank
out of range.
2.
brdInit
was not executed before executing
digIn
.
PARAMETER
bank
is 0 for IN00–IN07, 1 for IN08–IN15.
RETURN VALUE
An input value in the lower byte, where each bit corresponds to one channel. IN00 and IN08 are in the
bit 0 place.
SEE ALSO
brdInit, digOut, digBankOut
int digIn(int channel);
void digBankIn(int bank);
Содержание Fox LP3500
Страница 1: ...Fox LP3500 C Programmable Single Board Computer User s Manual 019 0111 081121 L...
Страница 6: ...Fox LP3500...
Страница 14: ...8 Fox LP3500...
Страница 22: ...16 Fox LP3500...
Страница 44: ...38 Fox LP3500...
Страница 90: ...84 Fox LP3500...
Страница 108: ...102 Fox LP3500 glFillCircle glPlotPolygon glFillPolygon...
Страница 134: ...128 Fox LP3500...
Страница 140: ...134 Fox LP3500...
Страница 142: ......