1sample: 2 description: Demonstration of the PWM LED driver 3 name: PWM LED sample 4tests: 5 sample.drivers.led.led_pwm: 6 filter: dt_compat_enabled("pwm-leds") 7 tags: LED 8 depends_on: pwm 9 platform_exclude: reel_board 10 timeout: 20 11 harness: console 12 harness_config: 13 type: multi_line 14 ordered: true 15 regex: 16 - "Testing LED \\d+" 17 - "Turned on" 18 - "Turned off" 19 - "Increasing brightness gradually" 20 - "Blinking on: 0.1 sec, off: 0.1 sec" 21 - "(Blinking on: 1 sec, off: 1 sec|Cycle period not supported)" 22 - "Turned off, loop end" 23