samples: led: lp5569: demo write_channels

Add a simple demonstration of the led_write_channels api on the lp5569
driver sample.
The demonstration simply turns on all of the channels with a single call to
led_write_channels. Then the same is done for turning off the channels.
Thus, it doesn't add much visually, but it shows the usage of the api.

Signed-off-by: Emil Dahl Juhl <emdj@bang-olufsen.dk>
This commit is contained in:
Emil Dahl Juhl 2024-11-25 10:35:28 +01:00 committed by Benjamin Cabé
commit 2df905dc2c
3 changed files with 28 additions and 2 deletions

View file

@ -142,6 +142,7 @@ Drivers and Sensors
* Added a new set of devicetree based LED APIs, see :c:struct:`led_dt_spec`.
* lp5569: added use of auto-increment functionality.
* lp5569: implemented ``write_channels`` api.
* lp5569: demonstrate ``led_write_channels`` in the sample.
* LED Strip