KevinVanthuyne / esp32-rgb-led-tubes-controller

ESP32 controller for a custom set of DIY RGB LED tubes used as stage lighting effects
2 stars 0 forks source link

Fix weird behavior of ledstrips #12

Open KevinVanthuyne opened 4 years ago

KevinVanthuyne commented 4 years ago

When running animations, part of the ledstrip doesn't follow the pattern and acts weird sometimes. Investigate the problem and fix it

KevinVanthuyne commented 4 years ago

Seems like NeoPixel library doesn't support RMT on the ESP32 which causes the pixel data to not be timed correctly and show glitches: https://github.com/adafruit/Adafruit_NeoPixel/issues/139 NeoPixelBus does support RMT: https://github.com/Makuna/NeoPixelBus/issues/152#issuecomment-500283195 Don't know about FastLED

A temporary solution is to add a very small delay of 1-2ms before showing the strip to make sure all data is present.