zephyr/samples/drivers/led_pca9633
Reto Schneider 7eabab2f5d samples, tests: Use semi-accurate project names
When using an IDE (e.g. Eclipse, Qt Creator), the project name gets
displayed. This greatly simplifies the navigation between projects when
having many of them open at the same time. Naming every project "NONE"
defeats this functionality.

This patch tries to use sensible project names while not duplicating
too much of what is already represented in the path. This is done by
using the name of the directory the relevant CMakeLists.txt file is
stored in. To ensure unique project names in the samples (and again, in
the tests folder) folder, small manual adjustments have been done.

Signed-off-by: Reto Schneider <code@reto-schneider.ch>
2018-10-27 21:31:25 -04:00
..
boards
src samples: led: fix default log level kconfig 2018-10-08 17:49:12 -04:00
CMakeLists.txt samples, tests: Use semi-accurate project names 2018-10-27 21:31:25 -04:00
README.rst
dts_fixup.h DT: Rename from dts.fixup to dts_fixup.h 2018-10-08 11:38:56 -04:00
prj.conf samples: fix prj.conf to use new logger 2018-10-08 17:49:12 -04:00
sample.yaml tests/samples: cleanup tags 2018-10-16 09:17:51 -04:00
stm32373c_eval.overlay

README.rst

.. _pca9633:

PCA9633: 4-Channel RGB
######################

Overview
********

This sample controls 4 LEDs connected to a PCA9633 driver, using the
following pattern:

 1. turn on LEDs
 2. turn off LEDs
 3. set the brightness to 50%
 4. turn off LEDs
 5. blink the LEDs
 6. turn off LEDs

Building and Running
********************

Build the application for the :ref:`stm32373c_eval_board` board, and connect
a PCA9633 LED driver on the bus I2C-1 at the address 0x62.

.. zephyr-app-commands::
   :zephyr-app: samples/drivers/led_pca9633
   :board: stm32373c_eval
   :goals: build
   :compact:

For flashing the application, refer to the Flashing section of the
:ref:`stm32373c_eval_board` board documentation.

References
**********

- PCA9633: https://www.nxp.com/docs/en/data-sheet/PCA9633.pdf