0.0.5 • Published 6 years ago

dht-sensor v0.0.5

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

dht-sensor

node.js module to read the DHT series of humidity and temperature sensors on a Raspberry Pi 2.

Setup

$ npm install dht-sensor --save

Example

var dht = require('dht-sensor');
var current = dht.read(11, 18); // 11 : DHT11, 18 : BCM GPIO  

console.log(current.humidity);
console.log(current.temperature);

Reference

https://github.com/adafruit/Adafruit_Python_DHT

0.0.5

6 years ago

0.0.4

9 years ago

0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago