

def setXON(self, level=True):
    'Platform specific - set flow state.'
    if (not level.hComPort):
        raise portNotOpenError
    if level:
        win32.EscapeCommFunction(self.hComPort, win32.SETXON)
    else:
        win32.EscapeCommFunction(self.hComPort, win32.SETXOFF)

dataset/ETHPy150Open Robot-Will/Stino/stino/pyarduino/base/pyserial/serialwin32.py Win32Serial.setXON/VarMisuse@19/34 `self`->`level`