-
Notifications
You must be signed in to change notification settings - Fork 353
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
please also support the ESP32 #41
Comments
I finally got my ESP32 and I see the same flickering. It's not a problem with WS2812FX, it's a timing issue with the ESP32. See https://forums.adafruit.com/viewtopic.php?f=47&t=117327, which mentions a workaround if your string of LEDs is short (less then 34 LEDs). If you are trying to control a longer string of LEDs, you'll probably have to wait for the Adafruit NeoPixel library to be updated to work properly with the ESP32. |
Thank you. Greetings Peter |
Has this been resolved ? |
Yes. Thank you. Sorry, I confused something. |
@micropet what makes you say this has been fixed? I have heard rumblings on the internet that the NeoPixelBus library has a solution that kind'a works, but as far as I know the Adafruit_Neopixel library is still broken. |
I started using some guys neopixelbus lib and works fine now |
OK, I dusted off my ESP32 and gave it a try. The version of NeoPixelBus released to the Arduino Library Manager (v2.2.9 which is quite old) still seems to have issues with the ESP32's interrupt processing, although I can get it to work by judiciously placing a delay(1) in my test sketch. The more up-to-date version of NeoPixelBus on GitHub works better, since it has the delay(1) trick built right into the bit bang code, as well as a call to taskENTER_CRITICAL() to disable task switching during the LED update. WS2812FX behaves like the old version of NeoPixelBus. It updates the LEDs erratically, but I can get it to work by adding a delay(1) in my test sketch. I tried adding taskENTER_CRITICAL() to the WS2812FX bit bang code, but it did not help, so I'm not sure what's going on with the ESP32. Guess I'll be sticking with my trusty ESP8266 for a while longer. :) |
Archiving this conversation for now. I'm sure it will pop up again as the ESP32 software matures. |
Hi All, |
The program runs error-free on an ESP8266.
On an ESP32 different Leds flicker, or stay on.
Test with ws2812 and ws2813.
The text was updated successfully, but these errors were encountered: