SHT4x Temperature and Humidity sensor
Use the SHT4x (About Modules) module for reading data from the Sensirion SHT4x series of devices.
Basic usage:
I2C1.setup({scl:D6,sda:D7});
var sht = require("SHT4x").connect(I2C1);
sht.read(function(d) {
console.log('Temperature:', d.temp);
console.log('Humidity:', d.humidity);
}
Reference
// read with callback({humidity,temp})
SHT4x.prototype.read = function (callback) { ... }
exports.connect = function (_i2c) { ... }
Using
(No tutorials are available yet)
This page is auto-generated from GitHub. If you see any mistakes or have suggestions, please let us know.