Example #1
0
 def __init__(self,
              driver=None,
              protocol=None,
              reset_on_connection=True,
              speed=115200,
              *args,
              **kwargs):
     BaseHardwareInterface.__init__(self, driver, protocol,
                                    reset_on_connection, *args, **kwargs)
     self.speed = speed
     self.serial = None
     self.port = None
Example #2
0
 def __init__(self, driver=None, protocol=None, speed=9200, *args, **kwargs):
     BaseHardwareInterface.__init__(self, driver, protocol, *args, **kwargs)
 def __init__(self, driver=None, protocol=None, reset_on_connection=True, speed=115200, *args, **kwargs):
     BaseHardwareInterface.__init__(self, driver, protocol, reset_on_connection, *args, **kwargs)
     self.speed = speed
     self.serial = None
     self.port = None