PutA channel, array, byteLength
|channel||RS-232 channel (1 to 3)|
|data||Data to send (up to
|byteLength||Number of bytes to send (1 to 65535)|
PutA command is used to send the contents of an array over the specified serial
channel. The array's contents will be sent starting from the first element of the
Dim A(10) As Byte OpenCom 1,19200,3,50,10 PutA 1,A,10 ' Send 10 Bytes of Array A
If byteLength is larger than the array, random data may be sent.
Please refer to the On Recv interrupt routine for receiving data using the hardware serial buffer.