added how to get the temperature of the rpi3
[www.git] / src / tricks / raspberry_pi3_temperature.adoc
diff --git a/src/tricks/raspberry_pi3_temperature.adoc b/src/tricks/raspberry_pi3_temperature.adoc
new file mode 100644 (file)
index 0000000..663bf9e
--- /dev/null
@@ -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
+----