User’s Manual
49
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);
Summary of Contents for Fox LP3500
Page 1: ...Fox LP3500 C Programmable Single Board Computer User s Manual 019 0111 041029 E ...
Page 6: ...Fox LP3500 ...
Page 14: ...8 Fox LP3500 ...
Page 22: ...16 Fox LP3500 ...
Page 86: ...80 Fox LP3500 ...
Page 120: ...114 Fox LP3500 ...
Page 130: ...124 Fox LP3500 ...
Page 134: ...128 Fox LP3500 ...
Page 138: ...132 Fox LP3500 ...
Page 142: ...136 Fox LP3500 ...
Page 144: ......