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

Wire.requestFrom() should not have Wire.beginTransmission() or Wire.endTransmission(). #61

Open
Koepel opened this issue Sep 11, 2017 · 0 comments

Comments

@Koepel
Copy link

Koepel commented Sep 11, 2017

The Wire.beginTransmission() and Wire.endTransmission() are only used when writing data.

In the file "razor-9dof-ahrs/Arduino/Razor_AHRS/Sensors.ino", the Wire.requestFrom() is in three places encapsulated by Wire.beginTransmission() and Wire.endTransmission(). Those Wire.beginTransmission() and Wire.endTransmission() can be removed.

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