ADXL345 based tilt meter

Thnx Jremington,

My values goes to roughly from -250 to +250 on rotations and to -511 to +511 on sudden waving. Is this behaviour normal or it
should give max value 511 to max rotation.