This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

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 ST Nucleo F334R8 board, and connect a PCA9633 LED driver on the bus I2C Arduino.

west build -b nucleo_f334r8_board samples/drivers/led_pca9633

For flashing the application, refer to the Flashing section of the ST Nucleo F334R8 board documentation.

References