8 years, 5 months ago.

ADXL345 giving only 0,0,0 values

I interfaced adxl345 to mbed lpc1768 using both spi and i2c protocols. I tried using the standard programs and libraries from the mbed.org site. But it was giving only 0,0,0 values in the serial communication. Is it fault in my code or any defect in the hardware. please help me with this. Thanks in advance.

Question relating to:

ADXL345 triple axis, digital accelerometer library. mbed
Be the first to answer this question.