kitesurfer1404 / WS2812FX

WS2812 FX Library for Arduino and ESP8266
MIT License
1.6k stars 346 forks source link

ws2812fx_esp32 2nd zone issue #237

Closed henmel closed 4 years ago

henmel commented 4 years ago

I have been using this library on ESP8266 for a while and aside from some WiFi related issues it has been working great. I decided to try upgrading to ESP32, but am running into some issues. Using example ws2812fx_esp32, zone 1 appears to work great, but zone 2 the colors appear to be random. I have 2 ESP32's, 30 pin and 38 pin, rev1, and they both do the same thing. I have tested with 10-30 LED's and get the same result. I also tried to use FastLED library examples, without RMT and aside from some random flickering and colors, it works ok.

Any ideas of what may be going on or how to resolve?

henmel commented 4 years ago

By the way, regarding the comment about the bright white LEDs, I deleted, I identified the cause when uploading the regular examples to esp32. The cause was the latest update in the AdafruitNeoPixel library. I downgraded to 1.4.0 and the WS2812FX examples now work as intended. This however did not fix the RMT issues with Zone 2, described above, in the ws2812fx_esp32 example. I still get random colors in the effects.

moose4lord commented 4 years ago

I ran the ws2812fx_esp32 example sketch with my ESP32 and it worked fine.

Note in the example sketch zone 2 is configured as if it was driving RGBW LEDs.

WS2812FX ws2812fx2 = WS2812FX( 60, 13, NEO_GRBW + NEO_KHZ800); //  60 RGBW LEDs driven by GPIO_13

You probably want to change that to normal RGB LEDs.

henmel commented 4 years ago

That was it!!! Thank you so much!