blogic/uledd

Fade on multiple LEDs diverges after some time

Closed this issue · 2 comments

ndoo commented

If I set 3 LEDs (e.g. R, G, B LEDs) to fade from 0 - 255 on the same call (with the same fade on/off interval), the 3 colors' timers start to drift after a few minutes, eventually becoming somewhat random.

The code currently uses 1 timer per led. Change it such that there is one singular timer that upon triggering sets the new state of each LED

ynezz commented

@ndoo Should be fixed via #6 can you test/confirm? Thanks!