Tool/software: Linux
Hello team,
I have a question about TMP422 linux driver provided on TI web(http://www.ti.com/tool/TMP421SW-LINUX).
When we obtain temperature range through the driver, we got strange temperature information.
Looking at the source code, I found calculation such as (temp * 1000 + 128) / 256 is run in the driver when returning the temperature data.
1) Could you please let me know a reason of the calculation?
2) What is best way to calculate actual temerature in degree C from the output data?
Best regards,