Closed
Description
There's a simple way to disable the channel output for TCAs not currently in use:
https://learn.adafruit.com/adafruit-tca9548a-1-to-8-i2c-multiplexer-breakout/wiring-and-test#multiple-multplexers-4-13
but not sure how that could get implemented here and still maintain the current ease of use.
tca1 = adafruit_tca9548a.TCA9548A(i2c, address=TCA1_ADDRESS)
tca2 = adafruit_tca9548a.TCA9548A(i2c, address=TCA2_ADDRESS)
sensor1 = SomeSensor(tca1[0])
#
# etc for sensors 2-8
#
sensor9 = SomeSensor(tca2[0])
#
# etc for sensors 10-16
#
Maybe end all transactions with a disable-all-channels?
Metadata
Metadata
Assignees
Labels
No labels