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

read() function incorrectly addresses locations > 65535 #2

Closed
GoogleCodeExporter opened this issue Feb 11, 2016 · 1 comment
Closed

Comments

@GoogleCodeExporter
Copy link

In the read() function, "Wire.requestFrom(0x50,1);" will result in errors for 
addresses > 65535, as it forces the A2, A1, and B0 bits in the control byte to 
always be zero.

The fix would be to replace "0x50" with the same expression used in the 
Wire.beginTransmission() call.


Original issue reported on code.google.com by christen...@gmail.com on 21 Jul 2014 at 8:30

@jwhiddon
Copy link
Owner

Fixed

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

No branches or pull requests

2 participants