Hi, I am working on ADXL345 accelerometer sensor for my project to determine the state of activity and inactivity. I have carried out several experiments to set the threshold for that. It would be great if anyone could help me with the working of interrupts in ADXL by considering the readings from all the 3 axis (X, Y and Z)?
We don’t have any code for that unfortunately, but our SparkFun_ADXL345_Example.ino that comes with our [Arduino library might point you in the right direction. :-)](GitHub - sparkfun/SparkFun_ADXL345_Arduino_Library: Arduino Library for the ADXL345)