m-rtijn / mpu6050

A Python module for accessing the MPU-6050 digital accelerometer and gyroscope on a Raspberry Pi.
MIT License
296 stars 145 forks source link

Use float for divisor in temperature conversion #4

Closed nickcoutsos closed 8 years ago

nickcoutsos commented 8 years ago

This avoids truncating the resulting decimals causing every temperature to be XX.53 degrees.

m-rtijn commented 8 years ago

Thank you for your contribution! It might be a small change but it surely is a good one.