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

    A Texas Instruments INA226 driven over an I2C bus, measuring shunt and bus voltage, current, and power on demand.

    Index
    • get calibrationWord(): number

      The calibration word the driver programs.

      Returns number

    • get currentLsbMicroamps(): number

      The current step the driver programs, in microamps per count.

      Returns number

    • Resets the part, checks it is an INA226, writes the configuration and the calibration, and reads the calibration back. Rejects when nothing answers or another part does.

      Returns Promise<void>