Wednesday, July 16, 2014

Read Raspberry Pi CPU temperature

In Raspbian, the file /sys/class/thermal/thermal_zone0/temp keep the CPU temperature, in 1000 (C degree). We can read Raspberry Pi CPU temperature with the command:

$ cat /sys/class/thermal/thermal_zone0/temp


No comments: