Adafruit LIS3DH triple axis accelerator not reading changes in acceleration


the Arduino has been programmed and connected to the accelerometer but when I click the serial monitor to start it the actual reading won’t change when the accelerometer is moving.

I am using the example accelerometer code from the accelerometer pinout page. it’s the Adafruit_LIS3DH example folder that is downloaded from the pinout page.


Can you post your code and a description of your hardware setup so that we can see if we can spot the issue.
Not sure if a photo of the hardware can be posted but it would be helpful (a link to the photo on a cloud storage would do fine).



Solved it. The student who was doing the project (and posted the question above) had burnt out his accelerometer and didn’t tell me he had done so. Substitute a fresh one and it now works.