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

    Class Hdc1080

    A Texas Instruments HDC1080 driven over an I2C bus, measuring temperature then humidity from one trigger.

    Index
    • Switches the on-die heater, which runs only during acquisitions, on or off.

      Parameters

      • on: boolean

      Returns Promise<void>

    • Checks the part is an HDC1080 and writes the configuration. Rejects when nothing answers or another part does.

      Returns Promise<void>

    • Triggers one acquisition of both channels and resolves with them, initializing the part first if init has not run. Rejects when the part does not acknowledge the read, which it refuses until its results are ready.

      Returns Promise<Hdc1080Measurement>