Full Version: Temperature precision
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I just started playing with my Pine64 again, and I'm looking at including its temperature information in my home-grown graphing system. I found that it seems like mostly valid data in the /sys/class/thermal/thermal_zone0/temp file, but I noticed that it has zero digits of precision. It's currently reporting 36C idling on my desk, and if I run "stress --cpu 4" for a few seconds, it shoots up to about 80C within 10 seconds, so I can assume it's measuring real data.

Is integer precision the best I'm going to get? My RPis are reporting to about 3 decimals of precision. It's not a big deal, but an integer graph is pretty boring.