Switching Over COM2 Channel

IR, 14-pin, or 3-pin communication interface can be selected on the COM2 port. However, since the 3-pin interface is an optional means to maintain software compatibility with other models, it is not implemented on this terminal.

SYNTAX

int SYS_GetCOM2Config();

INPUT

 

None

 

OUTPUT

 

= 0

Not selected (default setting at RESET)

= 1

14-pin

= 2

3-pin

= 3

IR

SYNTAX

int SYS_SetCOM2Config(int nDevice);

INPUT

nDevlce = Device to be used

0Not used

114-pin

23-pin

3IR

OUTPUT

= 0

Normal

= -1

Parameter error

Note:

This function is not related to the device power control. As a result, this function does not need to be restored to the "Not used" condition after the device has been used.

164

Page 164
Image 164
Casio IT-2000W manual Switching Over COM2 Channel, Int SYSGetCOM2Config, Int SYSSetCOM2Configint nDevice