User’s Manual
47
5.2.6.2 Digital I/O
Reads the input state of inputs on Prototyping Board headers J5 and J6. Do not use this function if you
configure these pins for alternate use after
brdInit()
is called.
PARAMETERS
channels
is the channel number corresponding to the signal on header J5 or J6
0—IN0
1—IN1
2—IN2
3—IN3
4—QD1B
5—QD1A
6—QD2B
7—QD2A
RETURN VALUE
The logic state (0 or 1) of the input.
SEE ALSO
brdInit
Writes a value to an output channel on Prototyping Board header J10. Do not use this function if you
have installed the stepper motor chips at U2 and U3.
PARAMETERS
channel
is output channel 0–7 (OUT00–OUT07).
value
is the value (0 or 1) to output.
RETURN VALUE
None.
SEE ALSO
brdInit
int digIn(int channel);
void digOut(int channel, int value);
Содержание RCM3365
Страница 6: ...RabbitCore RCM3365 RCM3375 Schematics 157...
Страница 14: ...8 RabbitCore RCM3365 RCM3375...
Страница 24: ...18 RabbitCore RCM3365 RCM3375...
Страница 72: ...66 RabbitCore RCM3365 RCM3375...
Страница 108: ...102 RabbitCore RCM3365 RCM3375...
Страница 142: ...136 RabbitCore RCM3365 RCM3375...
Страница 148: ...142 RabbitCore RCM3365 RCM3375...
Страница 164: ......