

def setRTS(self, level=1):
    'Set terminal status line: Request To Send'
    if (not self.hComPort):
        raise portNotOpenError
    if level:
        self._rtsState = win32.RTS_CONTROL_ENABLE
        win32.EscapeCommFunction(self.hComPort, win32.SETRTS)
    else:
        self._rtsState = win32.RTS_CONTROL_DISABLE
        win32.EscapeCommFunction(self.hComPort, win32.CLRRTS)

dataset/ETHPy150Open Robot-Will/Stino/stino/pyarduino/base/pyserial/serialwin32.py Win32Serial.setRTS/original