Placa y arreglos #13
1 changed files with 7 additions and 6 deletions
|
@ -22,9 +22,10 @@ ser.flush()
|
|||
while True:
|
||||
if ser.in_waiting > 0:
|
||||
line = ser.readline().decode('utf-8', errors='replace').rstrip()
|
||||
#time.sleep(0.1)
|
||||
print(line)
|
||||
ser.flush()
|
||||
break
|
||||
|
||||
time.sleep(1)
|
||||
|
||||
quit()
|
||||
|
|
Loading…
Reference in a new issue