I use an ESP32 and APA102 with 40 LEDs. The ESP32 is connected to the LEDs via Data, Clock and Ground. An external power supply powers the LEDs (40W 5V 8A). If I set the LEDs to blue (RGB 0-0-255), then some of the first 20 LEDs will glow blue correctly, others will be off and others will not light up. The next 20 LEDs will all turn blue. Same behavior happens with another LED Stripe. Set the LEDs to green (RGB 0-255-0) or red (RGB 255-0-0) everything is ok. I try to set the LEDs to "black", in order to turn them off (RGB 0-0-0) a part goes out and others switch over to any color. If I use the Sample Script (Rainbow), all LEDs work correctly and play the required color. Use the APA102.h library for the control. If I put a few LEDs on white with blue all works fine.
What could be the problem?
Thanks and greetings