Offset calibration program for an SPI ADXL345. Tested with mbed LPC1768.
Fork of Accelerometer_ADXL345 by
This is a program for offset calibration of ADXL345, it will also compute a fine offset correction number which cannot be corrected on ADXL345 itself. The IMU will need to be re-oriented 6x2 times for the calibration first 6 times for the coarse calibration, during which offsets on the ADXL will be calibrated and the next 6 will compute the fine offsets...