• Ic... almost...

    What I do not understand is the button to increment/decrement the length of the strip... because the strip has at runtime obviously at all times the same length, does it?

    Or do you you think with the button to move the then lit LEDs back and forth on the strip?

    Try to understand the big pic here (I also noticed the related conversation titled [v issues],(WS2812B issues), where you do your first steps w/ WS2812B.

    WS2812B strips have some timing sensitivity... therefore, you will always have to prep all values in an array and feed it to the write..., in other words - when I understand you correct - there will be, for example, 5 0-triplets which will go out first and keep in the end the last 5 LEDs dark, then 10 mixed triplets for the 10 lit LEDs in various colors, and then, finally another 3 0-triplets to keep the first 3 LEDs of a strip of total 18 LEDs in the dark. Does that sound about right?

    Can you make a char-graphic of various sets of states the strip would show in? ...for example

      0   1   2   3   4   5   6   7   8   9  10  11  12  13  14  15  16  17 - 18 strip
                  0   1   2   3   4   5   6   7   8   9                     - 10 lit
    Data column wise filled into an array, totally 54 values from 0..255:
      0   0   0 023 204 024 102 004 093 000 167 053 069   0   0   0   0   0 - R
      0   0   0 124 004 147 000 012 255 132 015 142 148   0   0   0   0   0 - G
      0   0   0 227 137 065 102 000 204 000 164 034 209   0   0   0   0   0 - B
    

    Is that about what you have in mind?

About

Avatar for allObjects @allObjects started