Nashville Plays Music

    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();

    Install

    npm i sht4x

    DownloadsWeekly Downloads

    1

    Version

    1.0.3

    License

    BSD-2-Clause

    Unpacked Size

    5.67 kB

    Total Files

    4

    Last publish

    Collaborators

    • richardowright