-->
Page 1 of 1

Error in serial.available

PostPosted: Sat Aug 20, 2016 1:39 pm
by PhilTilson
The language reference says:
serial.available()

Will return 0 if no characters in buffer. Will return 1 if serial characters exist in buffer.

serial.available()

This is incorrect. If serial characters exist, the function returns the number of characters in the buffer.

Phil

Re: Error in serial.available

PostPosted: Sat Aug 20, 2016 7:21 pm
by Mmiscool
Yep. This is correct. will fix that right now.