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

pico: add "neopixel" led support (WS2812) #841

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

Cpasjuste
Copy link

This PR add "neopixel" rgb led support to the pico platforms by defining "LED_WS2812_PIN".

Brightness is handled/simulated with the "pen LED" alpha channel.

Copy link
Collaborator

@Daft-Freak Daft-Freak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Think this was the last "driver" that only supported one thing. Beat me to it 😆

I assume you have a user for this somewhere?

32blit-pico/led.cpp Outdated Show resolved Hide resolved
32blit-pico/led.cpp Show resolved Hide resolved
32blit-pico/ws2812.pio Outdated Show resolved Hide resolved
@@ -23,7 +23,7 @@ bld/
build/
build.stm32/
build.mingw/
cmake-build-debug/
cmake-build-*/
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not a comment on the actual change, but I've just noticed that the previous three lines are duplicated with line 340/341... (except that one has a wildcard)

@Cpasjuste
Copy link
Author

Cpasjuste commented Jan 5, 2024

Think this was the last "driver" that only supported one thing. Beat me to it 😆

I assume you have a user for this somewhere?

Yes! For the "long" storry, i'm developing my own rp2040 handheld device (since a while now since my time is very limited...) initially to run some gb/nes/sms emulators i "ported". Then i wanted to develop a framework for it, which i did and it works very fine (linux/pico). Then i discovered this project.... which would have saved me lot of work :)

But well, all this stuff is fun after all, so it's cool. Here is a short video of the device running 32blit (which use a feather rp2040, and so the rgb led) : https://files.mydedibox.fr/files/dev/microboy/microboy-000.mp4

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