Thanks for the replies. I tried to use the default sketch of the Adafruit library, both with the primary and secondary addresses get the error -2. I think the manufacturers of the sensor are different. Could the problem be the welds?
Hello Jordan,
-2 error means communication error, so your i2c interface might have some issue.
Could you capture i2c and check whether i2c data is coming correctly?
If yes, could you please share it as well?
Thanks,