Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PCA9685 should have a constructor that takes an I2CDeviceInterface #199

Closed
EAGrahamJr opened this issue Apr 18, 2024 · 0 comments · Fixed by #200
Closed

PCA9685 should have a constructor that takes an I2CDeviceInterface #199

EAGrahamJr opened this issue Apr 18, 2024 · 0 comments · Fixed by #200

Comments

@EAGrahamJr
Copy link
Contributor

STEMMA/QT devices are becoming more common, making it easier to "wire" them together, avoiding soldering. Along with that are now multiplexers that allow users to connect breakouts with the same I2C address without requiring soldering. As an example, using a multiplexer would allow one to technically control 8x16 PWM devices.

However, the PCA9685 does not accept an I2CDeviceInterface as a constructor parameter. Adding that constructor would set up the above situation with ease.

EAGrahamJr added a commit to EAGrahamJr/diozero that referenced this issue Apr 18, 2024
Fixes mattjlewis#199: just added additional constructors.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant