(self, arg, queues, serial_in_size)
Initialise COMn: device.
Initialise COMn: device.
Initialise COMn : device .
def __init__(self, arg, queues, serial_in_size):
        """Initialise COMn: device."""
        Device.__init__(self)
        # for wait()
        self._queues = queues
        self._serial_in_size = serial_in_size
        self._spec = arg
        self._serial = self._init_serial(arg)
        self.device_file = DeviceSettings()
        # only one file open at a time
        self._file = None
def __init__ ( self , arg , queues , serial_in_size ) : Device . __init__ ( self ) # for wait() self . _queues = queues self . _serial_in_size = serial_in_size self . _spec = arg self . _serial = self . _init_serial ( arg ) self . device_file = DeviceSettings ( ) # only one file open at a time self . _file = None