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

    Class Tmp117

    A Texas Instruments TMP117 driven over an I2C bus, converting on demand in one-shot mode.

    Index
    • get siliconRevision(): number | null

      The silicon revision read at initialization, or null before it.

      Returns number | null

    • Resolves with the alert flags: whether a result since the last call was above the high limit or below the low limit, including results the driver's own reads saw.

      Returns Promise<Tmp117Alerts>

    • Checks the part is a TMP117, waits for its EEPROM to finish loading, and writes the settings with the part in shutdown. Rejects when nothing answers or another part does.

      Returns Promise<void>

    • Writes the high and low limits the part compares each result against; the factory limits are 192 C and -256 C.

      Parameters

      • highCelsius: number
      • lowCelsius: number

      Returns Promise<void>