Hi, a while ago I built a device that uses 2 INA219 devices, and it worked very well.
However, I recently had occasion to modify other parts of the software and recompiled/uploaded the original code first, but now if I initialize both it hangs or reboots the system.
#define INA219_1 0x40
#define INA219_2 0x41
Hangs or crashes here.
If I comment out either of the begin() calls it runs OK.
I assume that since the original code fails after a recompile the failure is due to a change in either the adafruit library or one of the supporting libraries.
Any idea how to fix this? or get around the problem?