parent
4dca6a1f78
commit
bb4d30a031
|
@ -16,8 +16,8 @@ host = serial.Serial('COM3', 9600)
|
||||||
while True:
|
while True:
|
||||||
try:
|
try:
|
||||||
output = str(host.readline())
|
output = str(host.readline())
|
||||||
output.replace("\r\n'", "")
|
output = output.replace("\r\n'", "")
|
||||||
output.replace("b'", "")
|
output = output.replace("b'", "")
|
||||||
print(output)
|
print(output)
|
||||||
except KeyboardInterrupt:
|
except KeyboardInterrupt:
|
||||||
exit()
|
exit()
|
Loading…
Reference in New Issue