parent
1660b75af7
commit
2bc0064083
|
@ -14,5 +14,8 @@ except ImportError:
|
||||||
host = serial.Serial('COM3', 9600)
|
host = serial.Serial('COM3', 9600)
|
||||||
|
|
||||||
while True:
|
while True:
|
||||||
|
try:
|
||||||
output = host.readline()
|
output = host.readline()
|
||||||
print(output.decode("ASCII"))
|
print(output.decode("ASCII"))
|
||||||
|
except KeyboardInterrupt:
|
||||||
|
break
|
Loading…
Reference in New Issue