sparkfun / SparkFun_LSM9DS1_Arduino_Library

Arduino library for the LSM9DS1 9DOF IMU.
Other
64 stars 78 forks source link

Fix readTemperature function #31

Open galch opened 4 years ago

galch commented 4 years ago

Temperature values are obtained using only 12 bits, as shown on page 49 of the datasheet, reflecting a one degree change per 16 LSB. And this could solve #21.

https://www.st.com/resource/en/datasheet/lsm9ds1.pdf

CAP1Sup commented 2 years ago

@Galch thanks for your fixes, I have merged them into my own fork. I would have just used your fork but I also wanted to integrate PR #35 as well. I will attempt to maintain the repo for others as it appears that Sparkfun isn't updating this any more