Exemplo n.º 1
0
 def __init__(self,
          port=None, 
          baudrate=9600, 
          bytesize=None, 
          parity=None, 
          stopbits=None, 
          timeout=None, 
          xonxoff=False, 
          rtscts=False, 
          writeTimeout=None, 
          dsrdtr=False, 
          interCharTimeout=None):
     if bytesize is None:
         bytesize =_PySerial.EIGHTBITS
     if parity is None:
         parity = _PySerial.PARITY_NONE
     if stopbits is None:
         stopbits = _PySerial.STOPBITS_ONE
     RemoteObj.__init__(self)
Exemplo n.º 2
0
 def __init__(self):
     RemoteObj.__init__(self)