removed spaces etx

Signed-off-by: Ebbe Baß <ebbe@ping-mee.de>
master
Ebbe Baß 2022-08-12 02:26:43 +02:00
parent 0bb76864af
commit d906d0811d
1 changed files with 3 additions and 1 deletions

View File

@ -16,6 +16,8 @@ host = serial.Serial('COM3', 9600)
while True: while True:
try: try:
output = host.readline() output = host.readline()
print(output.decode("ASCII")) output = output.decode("ASCII")
output = output.strip()
print(output)
except KeyboardInterrupt: except KeyboardInterrupt:
break break