diff --git a/pc-client/main.py b/pc-client/main.py index 9ac30d1..b7dde55 100644 --- a/pc-client/main.py +++ b/pc-client/main.py @@ -16,6 +16,8 @@ host = serial.Serial('COM3', 9600) while True: try: output = host.readline() - print(output.decode("ASCII")) + output = output.decode("ASCII") + output = output.strip() + print(output) except KeyboardInterrupt: break \ No newline at end of file