In the file "SparkFun_ADXL345.cpp", in the function "readFromI2C()", there is a Wire.endTransmission() after the Wire.requestFrom(). The Wire.endTransmission() should only be used when writing data, because the Wire.requestFrom() is a complete i2c session on its own.
In the file "SparkFun_ADXL345.cpp", in the function "readFromI2C()", there is a Wire.endTransmission() after the Wire.requestFrom(). The Wire.endTransmission() should only be used when writing data, because the Wire.requestFrom() is a complete i2c session on its own.