diff --git a/pc-client/main.py b/pc-client/main.py index 8bfbc75..a0428e3 100644 --- a/pc-client/main.py +++ b/pc-client/main.py @@ -15,8 +15,9 @@ host = serial.Serial('COM3', 9600) while True: try: - output = host.readline() + output = str(host.readline()) output.replace("\r\n", "") - print(output.decode("ASCII")) + output.replace("b'", "") + print(output) except KeyboardInterrupt: exit() \ No newline at end of file