Lines Matching full:led
1 .. zephyr:code-sample:: rgb-led
2 :name: PWM RGB LED
5 Drive an RGB LED using the PWM API.
10 This is a sample app which drives an RGB LED using the :ref:`PWM API <pwm_api>`.
12 There are three single-color component LEDs in an RGB LED. Each component LED
15 flicker fusion threshold (the minimum flicker rate where the LED is perceived as
16 being steady). The sample causes each LED component to step from dark to max
17 brightness. Three **for** loops (one for each component LED) generate a gradual
18 range of color changes from the RGB LED, and the sample repeats forever.
25 The LED PWM channels must be configured using the following :ref:`devicetree
29 - ``red-pwm-led``
30 - ``green-pwm-led``
31 - ``blue-pwm-led``
38 Unsupported board: red-pwm-led devicetree alias is not defined
39 Unsupported board: green-pwm-led devicetree alias is not defined
40 Unsupported board: blue-pwm-led devicetree alias is not defined