while indata != "%": indata = ser.read() print (indata) Counter = Counter + 1 if Counter > 20: sys.exit("Timed out waiting for Bootloader Active Character. Please try again")Why does this always timeout even though a % is received?
Python 3.8 under linux