SparkFun_ADXL345_Arduino_Library icon indicating copy to clipboard operation
SparkFun_ADXL345_Arduino_Library copied to clipboard

Negative values not working?

Open BorisBrock opened this issue 7 years ago • 0 comments

When reading the values via readAccel(int* x, int* y, int* z), three integers are returned. But their values are never negative. Instead small negative values become huge positive numbers (e.g. 65540).

Is that supposed to happen? Am I using it wrong?

PS: I used your example code, unmodified. I compiled with PlatformIO and ran it on a SparkFun ESP32Thing.

BorisBrock avatar Oct 12 '18 14:10 BorisBrock