|
serialRead
|
|
|
|
| None
|
|
|
|
|
| The string containing the data from the receive buffer.
|
|
|
|
|
| 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.
|
|
|
|
|
| This set of statements reads one character from a serial port:
|
|
|
| serialOpen (1)
|
| If (getError()<>ERR_OK) Then
|
| MsgBox ("Unable to open serial port")
|
| End
|
| EndIf
|
| serialWait()
|
| Print serialRead()
|
| serialClose()
|