zephyr/samples/drivers/led_pca9633
Sebastian Bøe 4e5300ba7f cmake: Drop all in-tree usage 'set_conf_file'
Port all users of 'set_conf_file' to use the built-in rules
instead. This follows the convention-over-configuration principle to
make the system as a whole simpler and more consistent.

Signed-off-by: Sebastian Bøe <sebastian.boe@nordicsemi.no>
2019-03-01 09:44:09 +01:00
..
boards
src led: pca9633: Remove dts_fixup.h 2019-01-31 09:09:36 -06:00
CMakeLists.txt cmake: Drop all in-tree usage 'set_conf_file' 2019-03-01 09:44:09 +01:00
prj.conf samples: fix prj.conf to use new logger 2018-10-08 17:49:12 -04:00
README.rst
sample.yaml sanitycheck: remove unused platforms keyword 2018-11-19 15:03:55 -05:00
stm32373c_eval.overlay

.. _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