Error in serial.available
Posted: Sat Aug 20, 2016 1:39 pm
The language reference says:
This is incorrect. If serial characters exist, the function returns the number of characters in the buffer.
Phil
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