Using X-CUBE-MEMS1 for lsm9ds1
Hi, I want to use -CUBE-MEMS1 for lsm9ds1. By default the applications code uses LSM303AGR . Could any one give me some hints what changes I need to do for porting ECompas application for lsm9ds1. I have already ported the driver accelerometer, gyro and magnetometer for lsm9ds1. I am asking for application and mathematics difference as done in Ecompas application code.
Axis orientation is different for these two chips.. How to handle that difference in source code.
Here is link for for X-CUBE-MEMS1 https://www.st.com/content/st_com/en/products/embedded-software/mcu-mpu-embedded-software/stm32-embedded-software/stm32cube-expansion-packages/x-cube-mems1.html
Application is inside the package;
STM32CubeExpansion_MEMS1_V6.0.1\Projects\STM32L476RG-Nucleo\Applications\IKS01A3\ECompass
Thanks
