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