20-101-0492 Rabbit Semiconductor, 20-101-0492 Datasheet - Page 77

MODULE OP6800 FULL-FEATURED

20-101-0492

Manufacturer Part Number
20-101-0492
Description
MODULE OP6800 FULL-FEATURED
Manufacturer
Rabbit Semiconductor
Datasheet

Specifications of 20-101-0492

Module/board Type
Single Board Computer Module
For Use With/related Products
OP6800
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
20-101-492
20-101-492
D.2 Digital I/O (OP68xx.LIB)
PARAMETER
RETURN VALUE
SEE ALSO
PARAMETERS
SEE ALSO
User’s Manual
int digIn(int channel);
void digOut(int channel, int value);
Reads the state of an input channel.
A runtime error will occur if
is out of range.
channel is the input channel number (0–12), where IN00–IN12 are the normal user digital inputs.
The state of the input (0 or 1).
Sets the state of a digital output (
Remember to call the
A runtime error will occur if
or
channel
value
value
brdInit, digOut, ledOut
brdInit, digIn, ledOut
NOTE: The LEDs and digital outputs OUT00–OUT06 are driven by the same driver
chip. Do not use both ledOut and digOut to control the same LED or digital output
in a given application.
is the output value (0 or 1).
is out of range.
is the output channel number (0–10).
brdInit
brdInit
brdInit
OUT00–OUT10)
function before executing this function.
was not executed before executing
was not executed before executing
.
digOut
digIn
, or when
, or when
channel
channel
73

Related parts for 20-101-0492