boards: arm: stm32: set LEDs period to 20ms
Most LEDs had 0 or 4 nanoseconds set as a period, a value that doesn't make sense for a PWM signal driving an LED. A period of 20ms (50Hz) is a frequently used value as it is above the flicker fusion threshold. All STM32 based boards have been updated. Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
This commit is contained in:
parent
c2208e213d
commit
5a0b12c230
12 changed files with 15 additions and 15 deletions
|
@ -41,7 +41,7 @@
|
|||
compatible = "pwm-leds";
|
||||
|
||||
red_pwm_led: red_pwm_led {
|
||||
pwms = <&pwm12 1 4 PWM_POLARITY_NORMAL>;
|
||||
pwms = <&pwm12 1 PWM_MSEC(20) PWM_POLARITY_NORMAL>;
|
||||
label = "User LD3 - PWM12";
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue