Skip to content

The very dimmest possible LED value is displayed as black #14

Closed

Description

@mtnocean

The first LED in the chain is displayed as black when it should be very dim. This occurs with both the WS2801 and the WS2811.

#include "FastLED.h"
#define NUM_LEDS 6
#define DATA_PIN 13
CRGB leds[NUM_LEDS];

void setup() {
   delay(2000);
   FastLED.addLeds<WS2801, RGB>(leds, NUM_LEDS);
   //FastLED.addLeds<WS2811, DATA_PIN, GRB>(leds, NUM_LEDS);
}

void loop() {
   leds[0] = 0x010101; 
   leds[1] = 0x020202;
   leds[2] = 0x030303;
   leds[3] = 0x040404;
   leds[4] = 0x050505;
   leds[5] = 0x060606;
   FastLED.show();
}

Activity

  1. focalintent commented on Jan 21, 2014

    @focalintent
    Contributor

    This is a side effect of the inline scaling that is done and is currently expected behavior.

  2. focalintent commented on Jan 21, 2014

    @focalintent
    Contributor

    I'll add an issue to make sure the documentation is clear on what's happening here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions