Placa y arreglos #13

Closed
fauno wants to merge 7 commits from placa-y-arreglos into master
Showing only changes of commit 3717b24234 - Show all commits

View file

@ -21,10 +21,11 @@ ser.write(serial.to_bytes(com))
ser.flush() ser.flush()
while True: while True:
if ser.in_waiting > 0: if ser.in_waiting > 0:
line = ser.readline().decode('utf-8', errors='replace').rstrip() line = ser.readline().decode('utf-8', errors='replace').rstrip()
#time.sleep(0.1) print(line)
print(line) ser.flush()
ser.flush() break
break
time.sleep(1)
quit() quit()