Rpi-Temp
Install
$ npm i rpi-temp
Description
Get Temperature of CPU in Celsius, Fahrenheit or Kelvin
API
Functions | Arguments |
---|---|
getCelsius() | callback(err, stdoutpu, stderror), decimal INT |
getFahrenheit() | callback(err, stdoutput, stderror), decimal INT |
getKelvin() | callback(err, stdoutput, stderror), decimal INT |
How to use
var rpiTemp = ; //callback methodrpiTemp //specify decimalrpiTemp;