Raspberry Pi read CPU temperature

root@raspberrypi:/home# cat /sys/class/thermal/thermal_zone0/temp
43470
root@raspberrypi:/home#

 

43470/1000 = 43.4 degrees Celsius

Guess you like

Origin www.cnblogs.com/salesking/p/11109492.html