Edit Adafruit INA219 Library

I need to change the I2C address of the INA219 in the Adafruit INA219 library. I went to the Particle cli and I went went to library view. This pointed me to the location of the library cpp an h files. I successfully modified the address in the h file. I removed the unedited library from my project, and I reinstalled the library. The address was not changed.

Any suggestions on why I do not see the address modified?

Thanks!

You cannot reinstall the library, and you must remove the library from project.properties. See the instructions here.

Once you've modified the library locally and removed it from project.properties both cloud and local builds should work properly with your modified library in Workbench.

There is no reasonable way to do it in the Web IDE.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.