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

multiple pwm instances break functionality #1

Closed
tacoe opened this issue Sep 27, 2015 · 3 comments
Closed

multiple pwm instances break functionality #1

tacoe opened this issue Sep 27, 2015 · 3 comments

Comments

@tacoe
Copy link

tacoe commented Sep 27, 2015

If you chain PCA9685s, creating multiple instances of a pwm object results in buggy behavior (eg with two chained banks, bank #2 gets distorted PWM values, bank #1 doesn't work at all). Not sure if this is as intended, but thought it worthwhile to mention.

@johntreacy
Copy link
Owner

Can you tell me more about this setup? Do you have any test code that you could share?

@johntreacy
Copy link
Owner

I reproduced the problem today and I believe I have found the issue and a fix. Expect an update soon after some more testing.

@johntreacy
Copy link
Owner

Fixed in main branch. Objects that should not have been reused were. Oops. Tested with two PCA9685, one at address 0x40 and one at 0x41.

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

No branches or pull requests

2 participants