You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Should we provide some mechanism to manually set the TCA mux? For use cases where this library is being used in conjunction with I2C devices that do not have a CircuitPython driver.
I don't think you want a second way to change the channel because it'll lead to confusion when using both ways at the same time. Instead, they should just use the appropriate channel object like a busio.I2C for driverless use.
Could maybe add mux changing code to all the busio.I2C methods, like writeto? Track current channel and only actually mux change if needed, to reduce unnecessary I2C traffic.
Should we provide some mechanism to manually set the TCA mux? For use cases where this library is being used in conjunction with I2C devices that do not have a CircuitPython driver.
Example:
https://forums.adafruit.com/viewtopic.php?f=60&t=177241
Maybe something like a new
channel
property?Could probably add a new class variable to track this also, to provide a read of current channel.
The text was updated successfully, but these errors were encountered: