I have modified the library in order to be able to use the second I2C interface available on the DUE, corresponding to Wire1 on the Arduino DUE. Now we can pass a TwoWire object at the constructor of Adafruit_INA219 class. By default the object the library uses is Wire. I have tested the changes and they works satisfactorily.
I have modified the library in order to be able to use the second I2C interface available on the DUE, corresponding to Wire1 on the Arduino DUE. Now we can pass a TwoWire object at the constructor of Adafruit_INA219 class. By default the object the library uses is Wire. I have tested the changes and they works satisfactorily.