parent
2bc0064083
commit
81e2768aae
|
@ -16,6 +16,7 @@ host = serial.Serial('COM3', 9600)
|
|||
while True:
|
||||
try:
|
||||
output = host.readline()
|
||||
output.replace("\r\n", "")
|
||||
print(output.decode("ASCII"))
|
||||
except KeyboardInterrupt:
|
||||
break
|
Loading…
Reference in New Issue