X-Git-Url: http://git.wpitchoune.net/gitweb/?p=www.git;a=blobdiff_plain;f=src%2Ftricks%2Fraspberry_pi3_temperature.adoc;fp=src%2Ftricks%2Fraspberry_pi3_temperature.adoc;h=663bf9e3a311385a0102a7f470226736355b0e94;hp=0000000000000000000000000000000000000000;hb=50069149c3083de49613e48143ed306f53d2b528;hpb=08499c48587fd911dea96c8c42ea8db276c32eae diff --git a/src/tricks/raspberry_pi3_temperature.adoc b/src/tricks/raspberry_pi3_temperature.adoc new file mode 100644 index 0000000..663bf9e --- /dev/null +++ b/src/tricks/raspberry_pi3_temperature.adoc @@ -0,0 +1,8 @@ += Raspberry PI - How to get the temperature +:docinfo2: +:icons: font + +Display the temperature of the Raspberry (Celsius): +---- +echo `cat /sys/class/thermal/thermal_zone0/temp` / 1000 |bc +----