I assume its run once to change it. Then run it again if you want to change it back.
If you run i2cdetect -y 1 and take note of its address.
Then run the change-address.py on one sensor, change it, and reboot.
Then run i2c detect -y 1 again. If it has the new address its a only have to run once deal.
To hook up the two sensors you just wire them both to the same GPIO pins.
SDA > SDA >SDA, SCL > SCL> SCL. I would only hookup the INT pin if you have to. And use two different GPIO, a different GPIO for each sensors INT pin.
1 Like