-
Notifications
You must be signed in to change notification settings - Fork 715
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
Adafruit neoPixelType order #1
Comments
Thank you sir ... I'll take a look and do as you ask. ... Neil |
Howdy @Smeedy ... I have attempted a fix. The default order in which colors are sent to the pixels remains "RGB". However, you can now customize the order. There is now a function on the WS2812 object class called
Would then send the colors in |
Closing ... believed resolved. |
Indeed resolved. Thx Neil! |
Awesome ... TY again kind sir and let me know if I can ever help again in the future. |
When setting the pixel the neoPixelType is not taken into account (RGB versus GRB for example). So colours could be off as I had in my setup. One can make a crude hack to shift the pixel colors according to the used type, but a constructor parameter would be nice.
See https://github.com/adafruit/Adafruit_NeoPixel/blob/master/Adafruit_NeoPixel.h
great work
The text was updated successfully, but these errors were encountered: