289 commands = [c.encode("utf-8)") + b'\r' for c in commandsList] |
289 commands = [c.encode("utf-8)") + b'\r' for c in commandsList] |
290 commands.append(b'\r') |
290 commands.append(b'\r') |
291 commands.append(b'\x04') |
291 commands.append(b'\x04') |
292 rawOff = [b'\x02'] |
292 rawOff = [b'\x02'] |
293 commandSequence = rawOn + newLine + commands + rawOff |
293 commandSequence = rawOn + newLine + commands + rawOff |
294 self.microPython.execute(commandSequence) |
294 self.microPython.commandsInterface().executeAsync(commandSequence) |
295 |
295 |
296 @pyqtSlot() |
296 @pyqtSlot() |
297 def handleDataFlood(self): |
297 def handleDataFlood(self): |
298 """ |
298 """ |
299 Public slot handling a data floof from the device. |
299 Public slot handling a data floof from the device. |