Skip to content

led: Add color setting and fading to LED API #8946

@JoeHut

Description

@JoeHut

In the initial PR for the LED API (#5342), an extension for RGB colors was proposed by @mbolivar. I added support for the 3-channel ON Semiconductor NCP5623 LED, which we use for driving a RGB LED. A PR for that support was proposed in #7619 together with an extension of the API for RGB LEDs and fading of the brightness that the NCP5623 also supports via I2C commands. Since the PR didn't get any feedback, maybe it makes sense to discuss here how this API for both setting the color and fading the brightness should look like.

Metadata

Metadata

Labels

EnhancementChanges/Updates/Additions to existing featuresarea: APIChanges to public APIsarea: LEDLabel to identify LED subsystem

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions