write_serial — Write to a serial connection.
write_serial writes the characters given in
the serial device given by
SerialHandle. The data to be
written is passed as a tuple of integers. This allows to write NUL
characters, which would otherwise be interpreted as the end of a
write_serial always waits until all data has been
transmitted, i.e., a timeout for writing cannot be set.
Serial interface handle.
Characters to write (as tuple of integers).
If the parameters are correct and the write to the device was
successful, the operator
write_serial returns the value TRUE.
Otherwise an exception is raised.