Hi All,
I've been wrestling with this for some time, but I think I finally have a handle on it. With 16 LEDs, I get lots of flashing. I tried all of the suggested software fixes including delay(1) before fastLED.show(), yield(), etc., with no resolution.
The ESP32 is connected to the LEDs through a 74HC125. Today I realized that it could be a hardware issue, so I checked the data in line on a scope, and saw lots of noise. I added a 470pf cap on the data line between the ESP32 to the 74HC125 to ground, and the LEDs are now working perfectly. After doing further research, I see that a resistor is sometimes recommended in series with the microcontroller data out line.
I have to finalize a pc board, so I'm wondering if I should stay with the 470pf cap, or do further testing with a resistor between the ESP32 and 74HC125.
Advice is appreciated. Thanks.