pamoja for TypeScript - v0.2.0
    Preparing search index...

    Class Sht3x

    A Sensirion SHT3x driven over an I2C bus, measuring on demand in single-shot mode.

    Index
    • Switches the heater off, which is its state after any reset.

      Returns Promise<void>

    • Switches the plausibility-check heater on, initializing the part first if needed.

      Returns Promise<void>

    • Soft-resets the part and reads its status; a status word whose checksum holds is what confirms an SHT3x answers. Rejects when nothing answers or the word fails its checksum.

      Returns Promise<void>

    • Runs one single-shot measurement and resolves with it, initializing the part first if init has not run. Rejects when a data word fails its checksum.

      Returns Promise<Sht3xMeasurement>