Go Down

Topic: while(Serial.available()==0) {} loop falls through (Read 14551 times) previous topic - next topic


Robin, thanks. Good stuff. I browsed through both of them. That's a *lot* of stuff. I'll read and learn *all*
of it during my next coffee break.  :smiley-lol:

Thanks again.
If it ain't broke, fix it 'til it is!


How does parseInt() interact with end-of-line markers? Maybe that's why the next ones are falling though - the peek at but don't consume the \n, \r, or \r\n .



indeed that would be an issue as well in the general case but 1oldfox mentioned above:

Hi ieee, thanks for the response. My SM is set with "no line ending".
so he does not generate any extra characters.

Hello - Please do not PM me for help,  others will benefit as well if you post your question publicly on the forums.
Bonjour Pas de messages privés SVP, postez dans le forum directement pour que ça profite à tous

Go Up