samples: led_pwm: add overlay for rpi_pico board
Add an overlay for rpi_pico board to the led_pwm sample. This board only supports fairly high pwm frequencies so the blinking of the LED is not supported. Turning it on/off and fading is. Signed-off-by: Joep Buruma <burumaj50@gmail.com>
This commit is contained in:
parent
b876ad9d6f
commit
91f659d70a
9
samples/drivers/led_pwm/boards/rpi_pico.overlay
Normal file
9
samples/drivers/led_pwm/boards/rpi_pico.overlay
Normal file
@ -0,0 +1,9 @@
|
||||
&pwm_led0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&pwm {
|
||||
status = "okay";
|
||||
divider-frac-4 = <255>;
|
||||
divider-int-4 = <255>;
|
||||
};
|
||||
Loading…
Reference in New Issue
Block a user