sht4x

1.0.3 • Public • Published

SHT4X Temperature Sensor

Reads humidity and temperature from the SHT40, SHT41, and SHT45 sensor via I2C.

Installation

npm install sht4x

Example

const SHT4X = require('../SHT4X.js');

const main = async () => {
    const thermostat = await SHT4X.open();
    console.log(await thermostat.serialNumber());
    console.log(await thermostat.measurements());
}

main();

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.3
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.3
    1
  • 1.0.2
    0
  • 1.0.1
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i sht4x

Weekly Downloads

1

Version

1.0.3

License

BSD-2-Clause

Unpacked Size

5.67 kB

Total Files

4

Last publish

Collaborators

  • richardowright