README.rst
1.. zephyr:code-sample:: lp5569
2 :name: LP5569 9-channel LED controller
3 :relevant-api: led_interface
4
5 Control 9 LEDs connected to an LP5569 driver chip.
6
7Overview
8********
9
10This sample controls 9 LEDs connected to an LP5569 driver. The sample turns
11all LEDs on one by one with a 1 second delay between each. Then it fades all
12LEDs until they are off again. Afterwards, it turns them all on at once, waits
13a second, and turns them all back off.
14This pattern then repeats indefinitely.
15
16Building and Running
17********************
18
19Build the application for the :ref:`nrf52840dk_nrf52840` board, and connect
20a LP5569 LED controller on the bus I2C0 at the address 0x32.
21
22.. zephyr-app-commands::
23 :zephyr-app: samples/drivers/led/lp5569
24 :board: nrf52840dk/nrf52840
25 :goals: build
26 :compact:
27
28For flashing the application, refer to the Flashing section of the
29:ref:`nrf52840dk_nrf52840` board documentation.
30
31.. code-block:: none
32
33 *** Booting Zephyr OS build zephyr-v3.3.0 ***
34 [00:00:00.361,694] <inf> app: Found LED device lp5569@32
35 [00:00:00.361,694] <inf> app: Testing 9 LEDs ..
36
37References
38**********
39
40- LP5569 Datasheet: https://www.ti.com/product/de-de/LP5569
41