serialThis class provides a serial port interface
class serial
This class does not inherit to any class.
This class does not have attributes.
construct() — The constructor. Create an instance of class serial and open the port close() — Close the serial port get_error() — Get the error string is_open() — Get the open status of the serial port read() — Read a given amount of bytes from the serial port and then return a string containing the data readln() — Read from the serial port until eol_char is received write() — Write a string to the serial port