Skip to content

Commit 10fe120

Browse files
saifanrcarlescufi
authored andcommitted
samples: fade_led: fix no led found error on rpi pico
Set the status of the pwm_leds node in the Raspberry Pi Pico overlay to "okay". Without this change, the serial output shows "PWM-based LED fade. Found 0 LEDs" and the led doesn't light up on the Pico. Signed-off-by: Saifan Rafiq <[email protected]>
1 parent 9150b5e commit 10fe120

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

samples/basic/fade_led/boards/rpi_pico.overlay

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
/ {
2+
pwm_leds {
3+
status = "okay";
4+
};
5+
};
6+
17
&pwm {
28
status = "okay";
39
divider-int-4 = <255>;

0 commit comments

Comments
 (0)