Closed dretful closed 3 years ago
Did you use the ADDR pin to set the alt address for the second ADS? Try an I2C scan and make sure both are being seen.
hihi -this should be posted in the tech support forums
Sorry of wrong place, but just wanted to say, yes thank you following the advice Did you use the ADDR pin to set the alt address for the second ADS? Try an I2C scan and make sure both are being seen.
and that solved it for me.
With two ADS1115's connected directly to the i2c bus and using the option to instantiate them with different addresses, I cant read each of them (having followed the example syntax).
output
ads1 4673 0.584 Traceback (most recent call last): File "",
line 173, in File adafruit_ads1x15/analog_in.py",
line 47, in value File "adafruit_ads1x15/ads1x15.py",
line 127, in read File "adafruit_ads1x15/ads1x15.py",
line 162, in _read File "adafruit_ads1x15/ads1x15.py",
line 198, in _write_register File "adafruit_ads1x15/ads1x15.py",
line 198, in _write_register File "adafruit_bus_device/i2c_device.py",
line 84, in write OSError: [Errno 19] Unsupported operation
What's wrong here?