Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Serial.available() not returning values greater than 1 #923

Closed
technobly opened this issue Mar 25, 2016 · 0 comments

Comments

@technobly
Copy link
Member

commented Mar 25, 2016

When looking for multiple chars to be buffered, this doesn't work as expected:

if (Serial.available() > 1) // does not work

if (Serial.available()) // works fine

This has been broken for a while now, not a recent regression. Tested still broken as of v0.4.9 firmware.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.