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

Enhancement - examples/multiple adding a mixed length example #952

Open
layzsmurf opened this issue Jan 10, 2020 · 1 comment
Open

Enhancement - examples/multiple adding a mixed length example #952

layzsmurf opened this issue Jan 10, 2020 · 1 comment

Comments

@layzsmurf
Copy link

@layzsmurf layzsmurf commented Jan 10, 2020

Hello,

you already ship 6 examples to use multiple LED strips with FastLED. However all the examples use strips of the same LED length. Being totally unfamiliar with FastLED this led me to the false conclusion that FastLED has a limitation, that I need to have strips of the same length.

My suggestion would be to add one example where Length of the strips are different.

E.G.: https://pastebin.com/3UjzA66a (just an alteration of your examples)
Has an 12 LED Ring and a 5 LED Strip

@marmilicious

This comment has been minimized.

Copy link

@marmilicious marmilicious commented Jan 13, 2020

I agree, I like the idea of one or more examples showing you can have different lengths. A comment in the examples mentioning different length strips can be used could also be good.

@layzsmurf Curious, in your example, line 25, did you multiply the two length variables together so that loop runs until they become synced up again?

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