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

Extra Wire.endTransmission() should not be there. #332

Open
Koepel opened this issue Apr 14, 2018 · 0 comments
Open

Extra Wire.endTransmission() should not be there. #332

Koepel opened this issue Apr 14, 2018 · 0 comments

Comments

@Koepel
Copy link

Koepel commented Apr 14, 2018

In the file "Sonoff-MQTT-OTA-Arduino/sonoff/support.ino", in the function "i2cRead()" there is an extra Wire.endTransmission() within the while, after the Wire.requestFrom(). That extra Wire.endTransmission() should not be there, since it should not be used on its own.
Explanation: Common-mistakes#2

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