Skip to content

pca9685 PWM Controller - initialize Mode2 register with OUTDRV=1 #94

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

RyAndrew
Copy link

I was trying to figure out why the adafruit driver works and this one does not.
https://github.com/adafruit/Adafruit-Motor-HAT-Python-Library/blob/master/Adafruit_MotorHAT/Adafruit_PWM_Servo_Driver.py

Mode register 2 was never configured.
Also I believe sleep here is unnecessary. Was this confused with a sleep for golang??
"It takes 500 us max. for the oscillator to be up and running once SLEEP bit has been set to logic 0." page 14 of the datasheet

@RyAndrew RyAndrew changed the title initialize Mode2 register with OUTDRV=1 pca9685 PWM Controller - initialize Mode2 register with OUTDRV=1 Jul 19, 2018
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 this pull request may close these issues.

1 participant