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