|
serialWrite
|
|
|
|
| Output
|
|
|
| A string containing the data to be sent to the serial port.
|
|
|
|
|
| ERR_OK
|
|
|
| The flag set if successful.
|
|
|
| ERR_FAILED
|
|
|
| The flag set if failed.
|
|
|
| ERR_NOTFOUND
|
|
|
| No open port found.
|
|
|
|
|
| To open and configure a serial port, use serialOpen.
|
|
|
|
|
| serialOpen (1,"19200,N,8,1")
|
| If (getError()<>ERR_OK) Then
|
| MsgBox ("Unable to open serial port")
|
| End
|
| EndIf
|
| serialWrite("Serial port test")
|
| serialClose()
|