0.0.2 • Published 7 years ago
dht-drivers v0.0.2
dht-drivers
node.js module to read the DHT series of humidity and temperature sensors.
Example
const dht = require('dht-drivers');
const current = dht.read(2, 11, 15); // 2: RaspberryPi (platform ID), 11: DHT11 (module type), 15: (pin)
console.log(current.humidity);
console.log(current.temperature);
Reference
0.0.2
7 years ago