zephyr/samples/drivers/led_sx1509b_intensity
Erik Robstad 1feb49fd22 drivers: Dev. spec. PWM functionality for SX1509B
Add device specific functions for initiating
and controlling PWM output pins.

Signed-off-by: Erik Robstad <erik.robstad@nordicsemi.no>
2021-01-08 15:52:42 +01:00
..
boards
src
CMakeLists.txt
README.rst
prj.conf
sample.yaml

README.rst

.. _sx1509b_intensity:

SX1509B LED Intensity
######################

Overview
********

This sample controls the intensity of the color LEDs in a Thingy:52 lightwell.
The red, green and blue LED fade up one by one, and this repeats forever.

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

.. zephyr-app-commands::
   :zephyr-app: samples/drivers/led_sx1509b_intensity
   :board: thingy52_nrf52832
   :goals: build flash
   :compact:

The log is configured to output to RTT. Segger J-Link RTT Viewer can be used to view the log.