I am using a Raspberry Pi Zero 2 to talk through a TCA9548A to multiple ADS1015, each ADS1015 is on a separate SDA/SCL channel of the TCA9548A. I am able to scan all channels and see the active addresses (0x48) on channel 0 of the TCA9548A and channel 1 of the TCA9548A. However I am not sure how to write the python code to select the analog input 0 on the channel 0 ADS1015 and then read the conversion. And then change to channel 1 of the TCA9548A and select/read analog input 2 of the ADS1015 on that channel.
Basically I am confused with how to select the TCA9548A channel to write the ADS1015 configuration bytes and then read the conversion bytes out. Maybe its not supposed to be done this way since I am multiplexing I2C channels?
It seems like I am trying to write/read to address 0x70 and 0x48 at the same time?
sorry I am new to python and the adafruit example codes are just not clicking with me.