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

need code support for color palette RGB #810

dursununal opened this issue Jun 1, 2019 · 2 comments


None yet
2 participants
Copy link

commented Jun 1, 2019

need code support for color palette RGB

1 buttons (Pin2 input)

static uint8_t startIndex = 0;
startIndex = startIndex += 1; // index(1 to16) (Pin2 input) changes

2 buttons (Pin3 input)

for ( int i = 0; i < NUM_LEDS; i++) {
leds[i] = ColorFromPalette( currentPalette, colorIndex, brightness, currentBlending);
colorIndex += 1; // index( 1 to 16 ) (Pin3 input) changes

If 2 buttons with indexes I can changes, I can do 50 different animations
found sample code on the internet,but it was incompatible with your code

internet sample code such
if(selectedEffect>18) {
switch(selectedEffect ) // case options case 1 to 18

I want help from you
thanks in advance
Dursun unal


This comment has been minimized.

Copy link

commented Jun 6, 2019

For general “help with code” questions like this - you will probably get more responses in the reddit group - - we try to keep the issues here in github focused on library bugs/issues. (Also, there are significantly more people that read/follow the reddit group than the github issues here)


This comment has been minimized.

Copy link

commented Jun 7, 2019

ok thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.