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