led-strip #366
-
Hi! P.s. I'm sure that the reason for the bug is wi-fi, because if you do not start it, then everything works fine. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
It looks like you can't, at least as long led_strip uses legacy rmt driver. What to try:
|
Beta Was this translation helpful? Give feedback.
It looks like you can't, at least as long led_strip uses legacy rmt driver.
I ran into the same failures in my own project: https://github.com/UncleRus/EvLamp .
The main reason for such color bursts is sudden pauses in the RMT transmission, which is clearly visible on the oscilloscope.
WS2812B, of course, treats such pauses as valid bits and, as a result, all LEDs in the chain set completely random colors after bad timing.
In my project, such failures are not a big problem, since wifi is used only for the API, but in your case it seems to be a blocking bug.
What to try:
led_strip_init()
function from a task that is already running on the second core. Callingled_strip…