Forum Rule: Always post complete source code & details to reproduce any issue!
-
I see, thanks.
BTW, both !Serial and !Serial.available() appear to produce the same results. I'll use your suggestion. Less typing, if no other reason.
best,
Michael
-
Senior Member+

Originally Posted by
Michael Ward
I see, thanks.
BTW, both !Serial and !Serial.available() appear to produce the same results. I'll use your suggestion. Less typing, if no other reason.
best,
Michael
Adding .available() would sit if somehow data was ready the instant Serial was seen as true, and yes, wasted typing.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules