Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Allow setting RGBW pixels with RGB tuples #2954

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 2 commits into from
May 26, 2020

Conversation

rhooper
Copy link

@rhooper rhooper commented May 25, 2020

Fixes #2953 by coercing RGB tuples to RGBW values, just like assigning an int to an RGBW value does.

@rhooper rhooper force-pushed the pixelbuf_rgbw_fix branch from b68c704 to d13d024 Compare May 25, 2020 00:40
Copy link
Member

@tannewt tannewt left a comment

Choose a reason for hiding this comment

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

Looks good! Thank you!

@rhooper
Copy link
Author

rhooper commented Jul 9, 2020

@tannewt What are the odds of getting this added to 5.3.1? People are routinely running into LED Animation issues with RGBW strips without this present in 5.3.

@tannewt
Copy link
Member

tannewt commented Jul 10, 2020

@rhooper if you make a PR to 5.3.x, then I'll merge and release. Thanks!

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.

PixelBuf doesn't accept only RGB values in RGBW mode
2 participants