Skip to content

No control of MODE2 register #38

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

Closed
User8230 opened this issue Apr 16, 2021 · 1 comment
Closed

No control of MODE2 register #38

User8230 opened this issue Apr 16, 2021 · 1 comment

Comments

@User8230
Copy link

User8230 commented Apr 16, 2021

There isn't a way to control the MODE2 register. The fix is pretty easy.

WAS

# Registers:
mode1_reg = UnaryStruct(0x00, "<B")

IS

# Registers:
mode1_reg = UnaryStruct(0x00, "<B")
mode2_reg = UnaryStruct(0x01, "<B")

See: https://forums.adafruit.com/viewtopic.php?f=19&t=160780&p=790983&hilit=PCA9685+MODE2#p790983

@tekktrik
Copy link
Member

tekktrik commented Jan 7, 2022

Hi @User8230, I've added access to this register if you want to close the issue!

@ladyada ladyada closed this as completed Jan 8, 2022
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

3 participants