i have 8 segments each have 16 leds.(WS2812B) connected to ESP32Dev
I created a usermod. but i cant assign animations to the different segments.
the only segment i can update is segment 0
what do i miss / what do i wrong?
for (int z=0;z<8;z++){ strip.setSegment(z,z*16,(1+z)*16); } effectCurrent = FX_MODE_SINELON_RAINBOW; // without these nothing happens colorUpdated(CALL_MODE_NOTIFICATION); // without these nothing happens for (int i = 1; i < 6; i++) { Segment &seg = strip.getSegment(i); seg.setOption(SEG_OPTION_ON, true); seg.setMode(FX_MODE_SINELON_RAINBOW); colorUpdated(CALL_MODE_NOTIFICATION); strip.trigger(); // force strip refresh stateChanged = true; }