SERIALSEND(buffer as string or integer array, noChars as integer)
Description
Transmits data out over the serial port. Buffer is the string of data to be sent. If buffer is an integer array, each element (including zero values) will be sent as an ASCII character. NoChars is the number of characters from buffer to send. Returns an integer error code. See SerialOpen for a list of result codes. To clear the receive buffer, do a SerialSend("",0).
Example
Err=SerialSend(outString, Len(outString))
Err=SerialSend(chr(0),1) 'send a null character