Estimate tilt angle from accelerometer data.
Formula
angle = atan2(Az, sqrt(Ax2+Ay2))
Roll
—
Pitch
Tilt from Vertical