stowite:
What are your test conditions that should generate a freefall interrupt?
I couldn't get the free fall interrupt to work so I tried a tap interrupt instead. I have tried dropping the break out board on my desk and tapping it with a finger with no luck triggering the interrupt.
XYZ registers are being read and displayed correctly and my added pitch and roll angle function seems to be working. I found the calibration sketch and used the XYZ data generated how I assume it is meant to be used. Unfortunately the calibration sketch generates more data than can be put in the ADXL345 offset registers and there is no explanation on the web page that explains to an ADXL345 novice how to use it.
INT1 of ADXL345 is connected to pin2 of my Mega (int 0).
Sketch and Adafruit library files are attached - I have made some additions to the library for my own convenience but all the original functions are the same.
All I really need is an example some one has done that uses the Adafruit ADXL345 library to successfully create and interrupt, with what ever ADXL345 device they have, so I can compare how they set the registers up with the way I have done it.