UNPKG
pi-temperature
Version:
latest (3.0.0)
3.0.0
2.1.0
2.0.0
1.0.0
Measure the temperature of a Raspberry Pi.
github.com/odensc/pi-temperature
odensc/pi-temperature
pi-temperature
/
index.d.ts
9 lines
(7 loc)
•
225 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
/** * Measures the temperature and calls the callback with the error and * temperature. * * **Note:** Temperature is in celsius. */
export
function
measure
(
callback: (err:
Error
|
null
, temp?: number) =>
void
) :
void
;