sample: | |
description: Demonstration of the PWM LED driver | |
name: PWM LED sample | |
tests: | |
sample.drivers.led.led_pwm: | |
filter: dt_compat_enabled("pwm-leds") | |
tags: LED | |
depends_on: pwm | |
platform_exclude: reel_board | |
timeout: 15 | |
harness: console | |
harness_config: | |
type: multi_line | |
ordered: true | |
regex: | |
- "Found device LED_PWM_\\d+" | |
- "Testing LED \\d+" | |
- "Turning on" | |
- "Turning off" | |
- "Increasing brightness gradually" | |
- "Blinking on: 0.1 sec, off: 0.1 sec" | |
- "Blinking on: 1 sec, off: 1 sec" | |
- "Turning off" |