• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

boards/03-Aug-2024-75

src/03-Aug-2024-6642

CMakeLists.txtD03-Aug-2024228 106

README.rstD03-Aug-20241.2 KiB4934

prj.confD03-Aug-202426 32

sample.yamlD03-Aug-2024243 1211

README.rst

1.. zephyr:code-sample:: lp3943
2   :name: LP3943 RGBW LED
3   :relevant-api: led_interface
4
5   Control up to 16 RGBW LEDs connected to an LP3943 driver chip.
6
7Overview
8********
9
10This sample controls 16 LEDs connected to an LP3943 driver, in
11a continuous pattern of turning them on one at a time (at a one
12second interval) until they're all on, and then turning them off in
13reverse order.
14
15Requirements
16************
17
18The :ref:`96b_neonkey` board has an LP3943 driver and 16 LEDs on board,
19so we'll use this board for our example.
20
21Building and Running
22********************
23
24Build the application for the :ref:`96b_neonkey` board, which has an
25LP3943 driver included.
26
27.. zephyr-app-commands::
28   :zephyr-app: samples/drivers/led_lp3943
29   :board: 96b_neonkey
30   :goals: build
31   :compact:
32
33For flashing the application, refer to the Flashing section of the
34:ref:`96b_neonkey` board documentation.
35
36When you connect to the board's serial console, you should see the
37following output in addition to the LED pattern:
38
39.. code-block:: none
40
41   ***** BOOTING ZEPHYR OS v1.11.99 *****
42   [general] [INF] main: Found LED device LP3943
43   [general] [INF] main: Displaying the pattern
44
45References
46**********
47
48- LP3943: http://www.ti.com/lit/ds/snvs256d/snvs256d.pdf
49