Skip to content

Change RGBW ORDER to be an init parameter to the NeoPixel library #9125

Discussion options

You must be logged in to vote

That can of course be initiated easily by yourself by submitting a Pull Request. As a temporary change, you can as well change the order after creating a neopixel object with e.g.

npx = NeoPixel(pin, pixels)

with

npx.ORDER = (0,1,2,3)

You could use that for a short explanation about visibility and search order for names in functions and classes.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by dmccreary
Comment options

You must be logged in to vote
1 reply
@dmccreary
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3 participants