101-0497 Rabbit Semiconductor, 101-0497 Datasheet - Page 77

no-image

101-0497

Manufacturer Part Number
101-0497
Description
MODULAR RABBIT CORE OP6810
Manufacturer
Rabbit Semiconductor
Datasheet

Specifications of 101-0497

Rohs Status
RoHS non-compliant
Module/board Type
Single Board Computer Module
For Use With/related Products
OP6810
Other names
Q1912584
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 101-0497