Skip to content

Conversation

@georgebohnisch
Copy link

@georgebohnisch georgebohnisch commented Jul 10, 2020

Useful for when you want to specifically illuminate the RGB LEDs without the White LEDs or for when you want to go full brightness and turn on all diodes on the chip.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about RGBW_WHITE_RGB and RGBW_WHITE_RGBW and maybe also RGBW_WHITE_W

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You mean RGB_WHITE_RGB... etc?

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wasn't sure RGBW_RGB is a clear colour name... This is what I was thinking.

RGBW_WHITE_RGB = (255, 255, 255, 0)
RGBW_WHITE_RGBW = (255, 255, 255, 255)
RGBW_WHITE_W = (0, 0, 0, 255)

Copy link
Author

@georgebohnisch georgebohnisch Jul 13, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't RGBW_WHITE_* redundant? The W in RGBW is the white diode.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see what you're saying, since these are all various permutations of "WHITE" let's call the color WHITE and include which diodes are used to generate the white. Yeah, I like that.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated the PR with the proposed changes.

@rhooper rhooper merged commit c18151f into adafruit:master Jul 13, 2020
adafruit-adabot added a commit to adafruit/Adafruit_CircuitPython_Bundle that referenced this pull request Jul 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants