jarzebski / Arduino-ADXL345

ADXL345 Triple Axis Accelerometer Arduino Library.
GNU General Public License v3.0
63 stars 45 forks source link

ADXL345_pitch_roll.ino calibration #4

Open konig87nikkinakki opened 4 years ago

konig87nikkinakki commented 4 years ago

Hi, i'm trying to run ADXL345_pitch_roll.ino and it works, but i never obtain 90degrees in X axis and i obtain 105degrees in Y axis when it's really 90degrees. I think i have to calibrate, can you explain how to do it? i read about Aoff and Gain here https://www.analog.com/media/en/technical-documentation/application-notes/AN-1057.pdf

what do you think about? Thank you so much