How does the X-CUBE-MEMS1 Motion MC library know the difference between an LSM9DS1 and an LSM6DSO?
Deep in the STMicro Compass example in the STMicro's X-CUBE-MEMS1 code-package there is a call made to the STMicro Motion MC library to calibrate the LSM6DSO magnetometer. The STMicro compass code passes both the magnetometer values and the accelero...