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