-
Notifications
You must be signed in to change notification settings - Fork 44
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
Add min and max_intensity feature back to Pulse animation #53
Comments
Looks like it was 2.0.0 that was included. The notes are here: https://github.com/adafruit/Adafruit_CircuitPython_LED_Animation/releases/2.0.0 Here is an example change: cbfa114#diff-879798843e31cea6b37d583453edd26f It looks like you may need to modify the first import for another level of abstraction. |
Thanks that worked! Unfortunately, it looks like the min_intensity and max_intensity parameters have been removed from the Pulse animation. Any chance of getting those back? It really helps to dial in a smooth LED pulse.
|
Also the min_intensity and max_intensity parameters are still present in the SparklePulse animation but don't appear to be wired up. |
Good catch on SparklePulse. Restoring min/max intensity shouldn't be difficult. With regards to the import issue, I'd love to add backward compatibility for imports, but will need to test see how that affects memory use. |
After upgrading to the latest Circuit Python Bundle (circuitpython-bundle-5.x-mpy-20200621), I'm getting the following error with the adafruit_led_animation library on the Feather nRF52840 Express:
File "code.py", line 7, in TypeError: 'module' object is not callable
Here is a sample program to reproduce the error:
The code works with circuitpython-bundle-5.x-mpy-20200516
The code stops working with circuitpython-bundle-5.x-mpy-20200518
I'm running CircuitPython 5.4.0-beta.1-43-g1504d9005 on 2020-06-22; on Feather nRF52840 Express.
The text was updated successfully, but these errors were encountered: