parent
0bb76864af
commit
d906d0811d
|
@ -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
|
Loading…
Reference in New Issue