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 = ;var current = dht; // 11 : DHT11, 18 : BCM GPIOconsole;console;
node.js module to read the DHT series of humidity and temperature sensors on a Raspberry Pi 2.
$ npm install dht-sensor --save
var dht = ;var current = dht; // 11 : DHT11, 18 : BCM GPIOconsole;console;
npm i dht-sensor
3
0.0.5
MIT