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() doesn't retturn number of bytes in serial receive buffer #26

Open
mak237 opened this issue Jan 17, 2016 · 0 comments

Comments

@mak237
Copy link

mak237 commented Jan 17, 2016

Serial.available() returns the presence of data instead of the number of bytes in the serial.receive buffer.

I.E. if (Serial.available() > 0) {} works but if (Serial.available() > 2) {} does not

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant