SparkFun_LSM9DS1_Arduino_Library
SparkFun_LSM9DS1_Arduino_Library copied to clipboard
Fix readTemperature function
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
- 2.3 Temperature sensor characteristics
- 7.17 OUT_TEMP_L (15h), OUT_TEMP_H (16h)
@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