Driver for Texas Instrument's ADS1115 analog to digital converter IC. It's somewhat compatible with the ADS1113 and ADS1114 variants. More details in the official datasheet
then error will be set for an address that doesn't correspond to any device, but zero for a valid address. However all responses from the ADS1115 or any other device is all 0xFF.
With the same hardware and my own code accessing the ADS1115 directly, there's no problem.
Hey there!
Without the actual code, hard to say why it's not working for you. Also if you paste your own version, we can compare it with the lib's code
I don't know what exactly it's doing wrong, but when running this on my Pi Pico, merely instantiating an ADS1115 makes all I2C reads return all-ones.
Communication is still partially working: if I do:
then
error
will be set for an address that doesn't correspond to any device, but zero for a valid address. However all responses from the ADS1115 or any other device is all 0xFF.With the same hardware and my own code accessing the ADS1115 directly, there's no problem.