def OnSerialRead(self, event):
        self.WriteText(event.data.decode('UTF-8', 'replace'))
Handle input from the serial port.
dataset/ETHPy150Open pyserial/pyserial/examples/wxTerminal.py/TerminalFrame.OnSerialRead