kitesurfer1404 / WS2812FX

WS2812 FX Library for Arduino and ESP8266
MIT License
1.58k stars 343 forks source link

Update modes_funcs.cpp - 'WS2812::running' - issue with lenght of sma… #337

Closed BlockThor closed 1 year ago

BlockThor commented 1 year ago

ISSUE for WS2812::running : If the length of the Segment is not a multiple of the length of the small segments the small segments are displayed sometimes with a wrong length. For example: with a Segment length of 60 LEDs and small segments set to SIZE_MEDIUM every 7th has a length of 8 LEDs, but all others are 4 LEDs (in 'Merry Christmas' for yellow color). With SIZE_LARGE every 4th has a length of 4 LEDs, but all others are 8 LEDs (in 'Merry Christmas' for purpe color).

BlockThor commented 1 year ago

I mean for 'Halloween'. For 'Merry Christmas': green and red colors accordingly.

moose4lord commented 1 year ago

Good catch. Thank you.