Skip to content
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

ws2812: add SPI based implementation #217

Draft
wants to merge 1 commit into
base: dev
Choose a base branch
from
Draft

ws2812: add SPI based implementation #217

wants to merge 1 commit into from

Conversation

aykevl
Copy link
Member

@aykevl aykevl commented Dec 26, 2020

This is useful because it allows using the WS2812 driver on platforms without bitbanged WS2812 support and it may be the only option if disabling interrupts is impossible or impractical.

WIP: mostly untested. A previous version worked on a nrf52832 board. When I tested it on a PyBadge the SPI output looked like garbage (clock worked but data was a mess). Haven't investigated that yet.

This is useful because it allows using the WS2812 driver on platforms
without bitbanged WS2812 support and it may be the only option if
disabling interrupts is impossible or impractical.
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.

1 participant