树莓派读取CPU温度

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

43470 / 1000 = 43.4 摄氏度

猜你喜欢

转载自www.cnblogs.com/salesking/p/11109492.html