Closed Koepel closed 5 years ago
Do you have tested the functionality when you change this? I do not have the sensors in use anymore, that's why I need you to test it (or someone else)
No, sorry. I was tired of explaining in forums how to use the Wire library. That's why I started to make many issues on Github, trying to tilt it into the right way. The extra Wire.endTransmission() is not harmless: Common-mistakes#2
In the function "readI2CRegister16bitUnsigned()", there is a Wire.endTransmission() after the Wire.requestFrom(). You can remove that second Wire.endTransmission() in that function.
The Wire.endTransmission should only be used when writing data.