This is an arduino IDE library to control the LIS3DH. It can be configured to use I2C or SPI with 2 instances per I2C channel or any number of SPI instances. The top-level driver, class LIS3DH, ...
The final project direction uses an MPU9265, performs a startup calibration over 500 samples, reads accelerometer and gyroscope data, calculates roll and pitch from gravity, and fuses those angle ...