In the examples where the number of leds is defined by #define NUM_LEDS (PS_PIXELS_X * PS_PIXELS_Y), how do I change this values?
I tried to change the values straight forward and I didnt get the results I was expecting. I tried both #define NUM_LEDS (8 * 16) and #define NUM_LEDS (16 * 8), and I see only half of the leds working.
Regarding your color problem: look at PsConstants.h, here are the defines for PS_PIXELS_X and PS_PIXELS_Y. But also for something called PS_P_RADIUS, which is used in the main rendering function. Don’t ask me, what it exactly means, but I’d increase that as well. As that define has no x- or y-component, I’d guess, that that code is not intended to run on non square displays either. Just increase that value and look, if the animation runs nicer. Keep playing until you are satisfied with the result!
If you run into speed problems, PartMatrix.cpp seems to be the place to replace his HSVtoRGB, fade, add8/sub8 with ours.
I am not interested in the patterns as a square display. I think they are very nice for different set up, so with all this info I will be checking this around, enjoying, and learning.
I am using an Arduino Flora on pin 6, with a neopixel led strip, 5Volts
When I open for example “giladaya_Fire.ino” and I only change the pin from 9 to 6, and I upload the code, what I have are the first 3 pixels displaying different shades of oranges and red.
Same result if I also change the chipset to WS2812B
How can I force this sketch to affect the whole led strip, if there is a way?
ok. I understand. I dont know how is the connection of a matrix. Is there a tutorial around?
Also what surprises me the most, is that one day, playing aorund with the code, I got to make it work in the strip for almost all of the pixels. How could I apply this programm into a led strip?
Sure, a matrix could be just a strip layed out in stripes of, say, 8 LEDs. Just watch my contributions to this forum. There is a video which shows an example.
Amazing, super. I got a box full of these super WS2812B leds in strips and rings and al sorts of others, Finaly found the way to use it, thanx to this fastled community. THANXXX
WannaDuino!!!