-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(front-leds): diamond: use update_channels to set brightness
apa102 driver with led_strip api doesn't allow to set the brightness byte, only the three RGB values. Use `update_channels` instead to set LED raw values. apa102 receives color in that order: ABGR, B and R have to be swapped in the struct before updating the channels. Signed-off-by: Cyril Fougeray <[email protected]>
- Loading branch information
Showing
2 changed files
with
29 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters