-
Notifications
You must be signed in to change notification settings - Fork 29
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
Test Patterns #17
Comments
I haven't yet dove into the programming language enough to write such a pattern. I'll try to give it a shot when I have a moment, but am hoping someone can beat me to it. :) |
I usually eyeball whats in the live preview. The "An Intro to Pixelblaze Code" does walk you through color order. Still, maybe a test button on the settings page would be pretty nice! |
This is what I meant. This snippet does two things;
A dead simple test of whether or not things are configured correctly. I appreciate that the intro does all this and more, but it isn't nearly as approachable for a basic sanity test. Especially for newcomers. (The first version of this code was utterly wrong. Shamefully horribly wrong. Wrong wrong wrong. Moved to a much simpler, pure RGB based, implementation. And added a grey first mode so you have an anchor. So, should be grey-red-green-blue w/2 seconds on each color. White end caps to ensure you got the LED count right.)
|
It would be helpful if there were a handful of test patterns that could be used to validate that the configuration of the strips are set up correctly; RGB in the right order, all pixels addressable as expected, etc.
Maybe only 3 (RGB) or 4 (RGBW) are needed where each exercises only one color channel.
Possibly, two pixels at the start/end, one pixel at 10,20,30,40,etc....
Might also be helpful to have a white "dot" that starts at 0 and goes to the end of the strip?
The text was updated successfully, but these errors were encountered: