Re: [PATCH v1] iio: gyro: mpu3050: Fix reported temperature value

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



22.04.2021 03:34, Andy Shevchenko пишет:
>     -                       /* The temperature scaling is (x+23000)/280
>     Celsius */
>     +                       /*
>     +                        * The temperature scaling is (x+23000)/280
>     Celsius,
>     +                        * where 23000 includes room temperature
>     offset of
>     +                        * +35C, 280 is the precision scale and x is
>     the signed
>     +                        * 16bit integer which corresponds to the
>     temperature
> 
> 
> “...16-bit signed integer...”
>  
> 
>     +                        * range of -40C..85C.
> 
> 
> 
> Datasheet says -30°C..+85°C.

Datasheet says this for the "Best fit straight line", while the min
value is -40C.



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux