Skip to content

led-strip #366

Answered by UncleRus
illidan112 asked this question in Q&A
Jun 22, 2022 · 1 comments · 4 replies
Discussion options

You must be logged in to vote

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:

  1. Be sure to call the led_strip_init() function from a task that is already running on the second core. Calling led_strip…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@illidan112
Comment options

@UncleRus
Comment options

@illidan112
Comment options

@UncleRus
Comment options

Answer selected by UncleRus
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants