Skip to content

Bug: LEDs on different strips are always the same color #1786

@thomergil

Description

@thomergil

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
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions