SHT3C Temperature and Humidity sensor

Use the SHT3C (About Modules) module for reading data from the Sensirion SHT3C series of devices.

Basic usage:

I2C1.setup({scl:B6,sda:B7});
var sht = require("SHT3C").connect(I2C1);
sht.read(function(d) {
  console.log('Temperature:', d.temp);
  console.log('Humidity:', d.humidity);
}

Reference

// Write a 16 bit command to the SHT3C
SHT3C.prototype.w = function (d) { ... }

// Read with callback({humidity,temp})
SHT3C.prototype.read = function (callback) { ... }

exports.connectI2C = function (_i2c) { ... }

Using

This page is auto-generated from GitHub. If you see any mistakes or have suggestions, please let us know.