Skip to content

Add support for OpenMV/MicroPython #126

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

Closed
wants to merge 6 commits into from

Conversation

szelenka
Copy link

MicroPython has a neopixel library, but it's functionality is not as robust as CircuitPythons:
https://docs.micropython.org/en/latest/library/neopixel.html

In our situation, we had a project which required an OpenMV board, which runs MicroPython instead of CircuitPython. In this case, OpenMV has their own fork of MicroPython, which has a similar neopixel library:
https://docs.openmv.io/library/neopixel.html

This PR allows the Adafruit_CircuitPython_LED_Animation to work with the neopixel library from OpenMV's fork of MicroPython.

However, given "CircuitPython" is in the name of this library, I'm uncertain if it makes sense to merge this PR .. or create a dedicated fork for OpenMV MicroPython?

@szelenka szelenka changed the title Add support for MicroPython Add support for OpenMV/MicroPython Apr 16, 2025
@dhalbert
Copy link
Contributor

We would rather not support MicroPython directly in the library. It takes up more space, which can be tight on some boards, and it also makes us responsible for maintenance of this feature. Creating your own fork makes sense. Another idea is to make a neopixel wrapper library that wraps the MicroPython neopixel library. That could be used to support other NeoPixel-related libraries in addition to this one.

@szelenka
Copy link
Author

Will fork, thanks for the feedback!

@szelenka szelenka closed this Apr 16, 2025
@szelenka szelenka deleted the micropython-support branch April 17, 2025 12:36
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.

3 participants