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

Tiny little bit of documentation would not hurt #3

Open
brd-mikek opened this issue Sep 10, 2024 · 1 comment
Open

Tiny little bit of documentation would not hurt #3

brd-mikek opened this issue Sep 10, 2024 · 1 comment

Comments

@brd-mikek
Copy link

Hi guys!

I'm trying to use your library, in my case for servo control.
Some functions you are using in your examples - I don't understand.
Specifically I have no idea what is setupOutputEnablePin and enableOutputs for.
A bit of comments would help.

I'm sure I could figure it out by reading the code and then reading the specs, but who has time for that :)
Overall, thanks for the library!

Thanks,
Mike K

@peterpolidoro
Copy link
Member

Yes good point, I should add some more documentation. Until then I will add the PCA9685 datasheet to the repository. If you look at the datasheet, you will see that the chip has an enable input. The outputs of the chip are only enabled when this input is LOW. You can either tie the input to the chip LOW permanently when you wire up the chip or you can wire up that chip input to an output pin on your microcontroller and pull it LOW using these library functions or your own code.

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