Signed-off-by: Ebbe Baß <ebbe@ping-mee.de>
master
Ebbe Baß 2022-08-12 02:24:08 +02:00
parent 51b1dcc38a
commit 785e3992e4
1 changed files with 1 additions and 1 deletions

View File

@ -16,8 +16,8 @@ host = serial.Serial('COM3', 9600)
while True: while True:
try: try:
output = str(host.readline()) output = str(host.readline())
output = output.replace("\r\n'", "")
output = output.replace("b'", "") output = output.replace("b'", "")
output = output.replace("\r\n'", "")
print(output) print(output)
except KeyboardInterrupt: except KeyboardInterrupt:
exit() exit()