<< Click to Display Table of Contents >> Navigation: ThinBASIC Modules > COMM > COMM_Print |
Description
Send a line of binary data through a serial port with $CRLF termination.
Syntax
COMM_Print(sComPort, sBuffer)
Returns
None
Parameters
Name |
Type |
Optional |
Meaning |
hComm |
Number |
No |
File number used by the COMM_OPEN statement to open the communications port. |
sBuffer |
String |
No |
The binary data to be sent to serial port. $CRLF will be added automatically at the end of the buffer. |
Remarks
COMM_Print is ideal for sending "AT" commands to a modem.
Restrictions
See also
Examples