ArCOM

class ArCOM[source]

Bases: object

ArCOM is an interface to simplify data transactions between Arduino and Python.

__init__()

Methods

__init__()

bytes_available()

close()

Close serial connection :return:

open(serial_port[, baudrate, timeout])

Open serial connection :param serialPortName: :param baudRate: :return:

read_byte()

read_bytes_array([array_len])

read_char()

read_char_array([array_len])

read_float32()

read_float32_array([array_len])

read_uint16()

read_uint16_array([array_len])

read_uint32()

read_uint32_array([array_len])

read_uint64()

read_uint8()

read_uint8_array([array_len])

write_array(array)

write_char(value)

bytes_available()[source]
Returns:

close()[source]

Close serial connection :return:

open(serial_port, baudrate=115200, timeout=1)[source]

Open serial connection :param serialPortName: :param baudRate: :return: