Skip to content

Compatibility with LED_Animation library #8

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
Jul 17, 2021

Conversation

FoamyGuy
Copy link
Contributor

This change implements __len__ inside of the macropad.pixels object which allows it to be used with the LED_Animation library. Without this code attempting to use with LED_Animation raises an exception.

I also added a very basic example that illustrates the usage with LED_Animation. The new example runs successfully on my MacroPad device. I have also tested a more complex animation inside of a separate project and found it to working fine as well.

@FoamyGuy FoamyGuy requested a review from a team July 17, 2021 17:58
@ladyada ladyada merged commit d83ae84 into adafruit:main Jul 17, 2021
@ladyada
Copy link
Member

ladyada commented Jul 17, 2021

good idea!

adafruit-adabot added a commit to adafruit/Adafruit_CircuitPython_Bundle that referenced this pull request Jul 19, 2021
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.

2 participants