trs_rhys:
but why would it matter in a while loop?
Don't assume that all serial characters are waiting in the buffer just because there is at least one. It is likely the while() finished at least once before the next character was available...
trs_rhys:
but why would it matter in a while loop?
Don't assume that all serial characters are waiting in the buffer just because there is at least one. It is likely the while() finished at least once before the next character was available...