Nitro212

raspberry pi tempeture

Apr 6th, 2018
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.25 KB | None | 0 0
  1. nano .bash_aliases
  2.  
  3. #paste this line inside .bash_aliases
  4. alias temp='/opt/vc/bin/vcgencmd measure_temp'
  5.  
  6. #ctrl + x to save and run source command
  7. source .bash_aliases
  8.  
  9. #just type "temp" without the quotes
  10. pi@raspberrypi:~ $ temp
  11. temp=55.8'C
Advertisement
Add Comment
Please, Sign In to add comment