zephyr/samples
Simon Guinot 6499ecb179 samples: drivers: add test sample for the PWM LED driver
This sample allows to test the led-pwm driver. The first "pwm-leds"
compatible device instance found in DT is used. For each LEDs attached
to this device (child nodes) the same test pattern (described below) is
executed. The LED API functions are used to control the LEDs.

Test pattern:

For each PWM LEDs (one after the other):

- turn on
- turn off
- increase the brightness gradually up to the maximum level
- blink (0.1 sec on, 0.1 sec off)
- blink (1 sec on, 1 sec off)
- turn off

Signed-off-by: Simon Guinot <simon.guinot@seagate.com>
2020-10-28 10:44:46 -05:00
..
application_development
basic
bluetooth
boards
cpp_synchronization
debug
display
drivers samples: drivers: add test sample for the PWM LED driver 2020-10-28 10:44:46 -05:00
hello_world
lorawan/class_a
mpu
net
philosophers
portability
posix
scheduler
sensor
shields
smp
subsys
synchronization
testing/integration
tfm_integration
userspace
video
classic.rst
index.rst