Go to advanced search

by ionut
Mon Feb 17, 2014 8:36 pm
Forum: Beginners
Topic: [Tutorial] Show RPI's Temperature with a command.
Replies: 71
Views: 618718

Re: [Tutorial] Show RPI's Temperature with a command.

Why not using this command here to display temperature:

Code: Select all

awk '{printf("\nrPI Temperature = %.1f °C\n\n",$1/1e3)}' /sys/class/thermal/thermal_zone0/temp
Result:
  • rPI Temperature = 55.1 °C

Go to advanced search