adxl345 gravity vector

I have some problems calculating gravity vector using adxl345.

Or Tilt/Pan or anything that would let me know how adxl is orientated towards the ground.

I have got all the data from axes in ‘g’ format but no idea what now…

Google “tilt sensing using accelerometer”.

yep, found it before admin approved my post :slight_smile: