The Wire.requestFrom() should not be used in combination with Wire.beginTransmission() or Wire.endTransmission().
Explanation: Common-mistakes, number 2 and 3.
See also my alternative explanation of the functions of the Wire library.
I found the issue in the readFrom() function in:
- BerryIMU/arduino-BerryIMU/IMU.cpp
- BerryIMU/ESP8266-BerryIMU/BerryIMU_ESP8266_Graph_Temperature/bmp180.cpp
- BerryIMU/Teensy-BerryIMU/Teensy3.6.BerryIMU/Teensy3.6.BerryIMU.ino
- BerryIMU/ESP8266-BerryIMU/BerryIMU_ESP8266_simple_web/BerryIMU_ESP8266_simple_web.ino
The
Wire.requestFrom()should not be used in combination withWire.beginTransmission()orWire.endTransmission().Explanation: Common-mistakes, number 2 and 3.
See also my alternative explanation of the functions of the Wire library.
I found the issue in the
readFrom()function in: