FastLED 3.9.4. See below. There are two strips, one LED each. The code sets them to two different colors, but they are always the same color. This is on an ESP32-S3 Zero.
#include <FastLED.h>
#define NUM_LEDS 1
CRGB led1[NUM_LEDS];
CRGB led2[NUM_LEDS];
void setup() {
FastLED.addLeds<WS2812B, 7, GRB>(led1, NUM_LEDS);
FastLED.addLeds<WS2812B, 8, GRB>(led2, NUM_LEDS);
led1[0] = CRGB::Red;
led2[0] = CRGB::Blue;
FastLED.show();
}
void loop() {
// Empty - just demonstrating initial state bug
}
FastLED 3.9.4. See below. There are two strips, one LED each. The code sets them to two different colors, but they are always the same color. This is on an ESP32-S3 Zero.