
START_DEBUG
Purpose
To start the debug function.
Syntax
START_DEBUG(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.
Parity% 1: None
2: Odd
3: Even
Specifies the parity of the COM port.
Data% 1: 7 data bits
2: 8 data bits
Specifies the data bits of the COM port.
Handshake% 1: None
2: CTS/RTS
3: XON/XOFF
Specifies the method of flow control for the
COM port.
If a certain COM port has been used in the BASIC program, it is better to use another
COM port for debugging to avoid conflicts.
Example
START_DEBUG (1,1,1,2,1) ' use COM1 to send debug messages
' the COM port properties are 115200,
None, 8, No handshake
See Also
STOP_DEBUG
STOP_DEBUG
Purpose
To terminate the debug function.
Syntax
STOP_DEBUG
Remarks
This is the counter command of START_DEBUG.
Comentarios a estos manuales