Clear output buffer, aborting the current output and discarding all that is in the buffer.
(self)
| 185 | self._port_handle.DiscardInBuffer() |
| 186 | |
| 187 | def flushOutput(self): |
| 188 | """Clear output buffer, aborting the current output and |
| 189 | discarding all that is in the buffer.""" |
| 190 | if not self._port_handle: raise portNotOpenError |
| 191 | self._port_handle.DiscardOutBuffer() |
| 192 | |
| 193 | def sendBreak(self, duration=0.25): |
| 194 | """Send break condition. Timed, returns to idle state after given duration.""" |