(self, rts=None, dtr=None, brk=None)
Set signal pins.
Set signal pins.
Set signal pins .
def set_pins(self, rts=None, dtr=None, brk=None):
        """Set signal pins."""
        with safe_io(error.DEVICE_FAULT):
            self._check_open()
            if rts is not None:
                self._serial.rts = rts
            if dtr is not None:
                self._serial.dtr = dtr
            if brk is not None:
                self._serial.break_condition = brk
def set_pins ( self , rts = None , dtr = None , brk = None ) : with safe_io ( error . DEVICE_FAULT ) : self . _check_open ( ) if rts is not None : self . _serial . rts = rts if dtr is not None : self . _serial . dtr = dtr if brk is not None : self . _serial . break_condition = brk