Skip to content
This repository was archived by the owner on Apr 20, 2022. It is now read-only.
This repository was archived by the owner on Apr 20, 2022. It is now read-only.

RGBW LEDs are unable to utilize the White pixel component when all RGB components equal 0 #22

Closed
@PitchBright

Description

@PitchBright

When attempting to control an individual neopixel's White component using:

pixels.fill((0,0,0,255))

the White pixel didn't light up. However, using:

pixels.fill((1,0,0,255))

did allow the White pixel to shine at full brightness.

cater on the Discord server #help-with-circuitpython channel attributed it to this line in the code:

elif self._has_white and r == g and g == b:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions