In the files:
- fk/clock.cpp
- fk/battery_gauge.cpp
- fk/temperature.cpp
there is a Wire.endTransmission() after a Wire.requestFrom() and reading and writing data is mixed.
Explanation about common mistakes: Common-mistakes
See also my alternative explanation of the functions of the Wire library.
Do you really need the I2C_CHECK macro ?
In the files:
there is a
Wire.endTransmission()after aWire.requestFrom()and reading and writing data is mixed.Explanation about common mistakes: Common-mistakes
See also my alternative explanation of the functions of the Wire library.
Do you really need the I2C_CHECK macro ?