Question
LIS3MDL
Posted on August 16, 2016 at 15:01
Hello folks,
I am trying to obtain temperature value from LIS3MDL magnetometer as I need it to see the magnetic field variation based on temperature. But the temparature values are not seem to be correct. I am dividing the signed 16 bit value by 80.f. Then I am adding +25.0f as it shows 0 reading at 25 degree Celsius. But still no exact reading. Anyone tried different scaling factor for this device ? #!stm32