I would like to use the tca9548a multiplexer from Adafruit:
Together with the ads1100 adc:
on a RPI4. The tca9548 and the ads1100 are recognized fine using the i2c scanner provided by adafruit:
However, I can not use the smbus library to access the adc using this code example:
Because I can not provide the tca object to # Get I2C bus
bus = smbus.SMBus(1)
it only accepts integers. Any ideas how I can use the adafruit library to point to the ads1100 registers?
Read more here: Source link