通过命令行代码获取树莓派的温度 CPU cat /sys/class/thermal/thermal_zone0/temp | awk \'{print $1/1000}\' 主板 /opt/vc/bin/vcgencmd measure_temp 相关文章: