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
© 2004-2008 thinBasic. All rights reserved. | Version 1.7.0.0 | Web Site: http://www.thinbasic.com |