zephyr/samples/drivers/led_pca9633
Marc Herbert 2cd51a33ce samples: make find_package(Zephyr...) REQUIRED
This provides a better error message when building with CMake and
forgetting ZEPHYR_BASE or not registering Zephyr in the CMake package
registry. See parent commit for more details (split from parent for
better readability).

Signed-off-by: Marc Herbert <marc.herbert@intel.com>
2020-05-29 10:47:25 +02:00
..
boards samples/drivers/led_*: Remove usage of CONFIG_I2C_X on stm32 boards 2020-04-15 08:21:30 -05:00
src timeout: Fix up API usage 2020-03-31 19:40:47 -04:00
CMakeLists.txt samples: make find_package(Zephyr...) REQUIRED 2020-05-29 10:47:25 +02:00
prj.conf samples: fix prj.conf to use new logger 2018-10-08 17:49:12 -04:00
README.rst samples: drivers: Add sample application for PCA9633 2018-07-02 10:25:47 -05:00
sample.yaml tests: fix test identifiers 2019-12-09 15:53:44 -05:00

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