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

Allow multiple LED types on a single GPIO #4548

Open
A6uh opened this issue Feb 12, 2025 · 1 comment
Open

Allow multiple LED types on a single GPIO #4548

A6uh opened this issue Feb 12, 2025 · 1 comment

Comments

@A6uh
Copy link

A6uh commented Feb 12, 2025

I came across LED Effect for Klipper. They allow you to specify different led types in series on the same gpio.

An example configuration showing this is here on line 65. That example controls 8 RGB WS2812 leds followed by 2 RGBW SK6812 leds wired in series.

I would love to be able to do this in WLED as it used to be my preferred way to control my 3D printer's LEDS. However, I had to switch to LED Effects because of this limitation.

@blazoncek
Copy link
Collaborator

You should talk to NeoPixelBus creator as WLED uses it to drive LEDs.

However, what the configuration you pointed out shows is that it will internally only deal with different color orders. WS2812 and SK6812 do in fact share very similar timings and may be protocol compatible and that is why this works. Attaching other types would be unsuccessful.

WLED's internal structure does not allow mixing types with different color channels on the same GPIO. Implementing that would require changes in NeoPixelBus library and WLED's internal structures which is nearly impossible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants