zephyr/samples/drivers
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
..
can samples: Fix device instance const qualifier loss 2020-09-02 13:48:13 +02:00
counter device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
crypto device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
current_sensing tests/samples: add samples for Serpente board 2020-09-04 09:25:02 -05:00
dac boards: nucleo_f091rc: Enable DAC driver 2020-09-03 14:46:03 -05:00
display samples: display: add fixture 2020-09-17 07:10:03 -04:00
entropy device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
espi drivers: eSPI: add eSPI driver support for NPCX7 series. 2020-10-02 11:33:15 +02:00
flash_shell shell: examples cleanup 2020-09-29 10:48:47 +02:00
gpio/boards samples: gpio: add board overlay for up_squared 2020-02-05 12:00:36 +01:00
ht16k33 device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
i2c_fujitsu_fram device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
i2s/litex device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
jesd216 device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
kscan samples: Add fixtures for samples interacting with keyboard and mouse 2020-09-08 17:24:38 -04:00
kscan_touch device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
lcd_hd44780 device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
led_apa102 device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
led_apa102c_bitbang device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
led_lp503x device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
led_lp3943 device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
led_lp5562 device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
led_lpd8806 device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
led_pca9633 device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
led_pwm samples: drivers: add test sample for the PWM LED driver 2020-10-28 10:44:46 -05:00
led_ws2812 device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
lora device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
peci device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
ps2 samples: Add fixtures for samples interacting with keyboard and mouse 2020-09-08 17:24:38 -04:00
soc_flash_nrf device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
spi_flash nrf52840_mdk: support qspi flash 2020-10-21 17:34:26 +02:00
spi_flash_at45 samples: drivers: Update sample overlay with sector size values 2020-09-04 11:58:22 +02:00
spi_fujitsu_fram device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
watchdog device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
drivers.rst samples: drivers: Change drivers.rst to find all samples readme file 2020-05-15 17:18:56 +02:00