write
Write data to the serial communication port. Timeout default 3 seconds.
Return
int - Number of bytes written.
Parameters
data
Write buffer.
length
Length to read.
Write data to the serial communication port.
Return
int - Number of bytes written.
Parameters
data
Write buffer.
length
Length to read.
timeout
Timeout for the write operation. Default 3 seconds.