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