
Specifying which type of interface is to be used, the user can use the same commands to
open, close, read, and write the data via different interfaces: RS-232, Serial IR, IrDA,
Bluetooth (SPP/DUN), or WLAN.
Commands for triggering the COM event: OFF COM, ON COM GOSUB...
CLOSE_COM
Purpose
To disable a specified communication port.
Syntax
CLOSE_COM(N%)
Remarks
"N%" is an integer variable, indicating which communication port is to be disabled.
Example
CLOSE_COM(2)
See Also
OPEN_COM, READ_COM$, SET_COM_TYPE, WRITE_COM
OPEN_COM
Purpose
To enable a specified communication port.
Syntax
OPEN_COM(N%)
Remarks
"N%" is an integer variable, indicating which communication port is to be enabled.
Example
OPEN_COM(1)
See Also
CLOSE_COM, OFF COM, ON COM GOSUB…, READ_COM$,
SET_COM_TYPE, WRITE_COM
Comentarios a estos manuales