adafruit / adafruit/Adafruit_CircuitPython_TCA9548A

Allow manual muxing?

Open
#28 3 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
31
Forks
17
PR merge metrics
No merged PRs in 30d

Description

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?
```python
tca.channel = 3
```
Could probably add a new class variable to track this also, to provide a read of current channel.

Contributor guide

No contributing guide indexed for this repository

Research direction

No file or test is named in the issue. Start by reading the TCA9548A CircuitPython driver and its existing channel-selection behavior; done means the library provides a documented way to select a mux channel manually and read the current channel for devices without a CircuitPython driver.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
embedded-iot
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.