User`s guide

102
CipherLab BASIC Compiler
User's Guide
IRDA_TIMEOUT
Purpose
To set the timeout for IrDA connection.
Syntax
IRDA_TIMEOUT(N%)
Remarks
"N%" is an integer variable in the range of 1 to 8, indicating a specified period of
time.
Value Meaning
1
2
3
4
5
6
7
8
3 sec
8 sec
12 sec
16 sec
20 sec
25 sec
30 sec
40 sec
Example
IRDA_TIMEOUT(7) ' set timeout to 30 seconds
See Also
IRDA_STATUS
SET_COM
Purpose
To set parameters for a specified communication port.
Syntax
SET_COM(N%, Baudrate%, Parity%, Data%, Handshake%)
Remarks
Parameters Values Remarks
N% 1 or 2 Indicates which COM port is to be set.
Baudrate% 1: 115200 bps
2: 76800 bps*
3: 57600 bps
4: 38400 bps
5: 19200 bps
6: 9600 bps
7: 4800 bps*
8: 2400 bps*
Specifies the baud rate of the COM port.
* (asterisk): Not applicable to Serial IR.