void digOut(int channel, int state);
Writes a state to a digital output channel on header JP4 of the RCM3700 Prototyping Board. The PIO0 to
PIO3 channels on the A/D converter chip are accessed via header JP4 on the RCM3700 Prototyping
Board.
A runtime error will occur if the brdInit function was not executed before calling this function or if
the channel is out of range.
PARAMETERS
channel is channel 1 to 4 for JP4:1 to JP4:4
state is a logic state of 0 or 1
RETURN VALUE
None.
SEE ALSO
brdInit, digIn
int digIn(int channel);
Reads the state of a digital input channel on header JP4 of the RCM3700 Prototyping Board. The PIO0 to
PIO3 channels on the A/D converter chip are accessed via header JP4 on the RCM3700 Prototyping
Board.
A runtime error will occur if the brdInit function was not executed before calling this function or if
the channel is out of range.
PARAMETERS
channel is channel 1 to 4 for JP4:1 to JP4:4
state is a logic state of 0 or 1
RETURN VALUE
None.
SEE ALSO
brdInit, digOut
54
RabbitCore RCM3750
Need help?
Do you have a question about the RabbitCore and is the answer not in the manual?
Questions and answers