Write serial port data in the background
(self, data)
| 135 | return self.raw_serial.read(length) |
| 136 | |
| 137 | def write(self, data): |
| 138 | """Write serial port data in the background""" |
| 139 | func = functools.partial(self.raw_serial.write, data) |
| 140 | self._queue.put(func) |
| 141 | |
| 142 | def set_read_timeout(self, timeout): |
| 143 | """Set timeout for read operations""" |
no outgoing calls
no test coverage detected