Skip to content

Fix checking variable frequency #69

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

Merged
merged 1 commit into from
Jan 12, 2023
Merged

Fix checking variable frequency #69

merged 1 commit into from
Jan 12, 2023

Conversation

tekktrik
Copy link
Member

Fixes #68 by correctly implementing #67 and #13 together. It only wants to change if the frequency is less than 2000, and will error out if it wants to do so but variable_frequency == False.

@tekktrik tekktrik requested a review from caternuson January 12, 2023 18:49
@caternuson
Copy link
Contributor

Did not test, but LGTM. The outer conditional should fix the issue on a Pi like in forum post linked in #68.

@tekktrik tekktrik merged commit f26bead into adafruit:main Jan 12, 2023
adafruit-adabot added a commit to adafruit/Adafruit_CircuitPython_Bundle that referenced this pull request Jan 13, 2023
Updating https://github.com/adafruit/Adafruit_CircuitPython_NeoTre to 1.3.2 from 1.3.1:
  > Merge pull request adafruit/Adafruit_CircuitPython_NeoTre#24 from spuder/patch-1
  > Add .venv to .gitignore

Updating https://github.com/adafruit/Adafruit_CircuitPython_Motor to 3.4.7 from 3.4.6:
  > Merge pull request adafruit/Adafruit_CircuitPython_Motor#69 from tekktrik/dev/fix-error

Updating https://github.com/adafruit/Adafruit_CircuitPython_Bundle/circuitpython_library_list.md to NA from NA:
  > Updated download stats for the libraries
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.

Frequency of PCA9685 can't be set on a per channel basis
2 participants