-
Notifications
You must be signed in to change notification settings - Fork 60
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
There is a bug in PCA9685 implementation #196
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When you call "on" with float 1
off
is assigned with4096
, beacause ofRANGE
constantnext in
setPwm
method,validateOnOff(on, off)
is calledwhich causes
IllegalArgumentException
to be thrownI think, as pca is 12bit resolution, max value should be 4095
and validation should be open set (> not >=)
The text was updated successfully, but these errors were encountered: