We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Docu: Wire::read()
Returns The next byte received
It should be:
Returns The next byte received (or -1 if no data is available). Data type: int.
The text was updated successfully, but these errors were encountered:
Is that always meant to be the case? In the Mbed core it looks like it returns 0: https://github.com/arduino/ArduinoCore-mbed/blob/949c70ce6ae7d2910e5768d6d88fc3ae0e943584/libraries/Wire/Wire.cpp#L123
0
Edit: It is meant to be -1, the Mbed core will be updated.
-1
Sorry, something went wrong.
arduino::MbedI2C::read()
kengdahl
No branches or pull requests
Docu: Wire::read()
It should be:
The text was updated successfully, but these errors were encountered: