The INA3221 Triple Current/Power Monitor allows user to monitor current of power sources via i2c interface

API Reference

How To Connect

Install the package with: go get

You must pass in an Adaptor that supports the i2c.Connector interface to use with this Driver.

You can use the following optional params if you wish to change the I2C Bus and I2C Address from the default values.

i2c.WithBus(int): bus to use with this driver.

i2c.WithAddress(int): address to use with this driver

// default bus/address
bpm180 := i2c.NewINA3221Driver(adaptor)

// optional bus/address
bpm180 := i2c.NewINA3221Driver(adaptor,

How To Use

Example using a INA3221.

// code here