Lines Matching +full:board +full:- +full:to +full:- +full:board

1 .. zephyr:code-sample:: pwm-blinky
3 :relevant-api: pwm_interface
11 :zephyr:code-sample:`blinky` for a GPIO-based sample.
15 seconds until it returns to 1 Hz, completing a single blinking cycle. This
16 faster-then-slower blinking cycle then repeats forever.
18 Some PWM hardware cannot set the PWM period to 1 second to achieve the blinking
19 frequency of 1 Hz. This sample calibrates itself to what the hardware supports
26 The board must have an LED connected to a PWM output channel. The PWM
28 <dt-guide>` alias, usually in the :ref:`BOARD.dts file
29 <devicetree-in-out-files>`.
34 No additional wiring is necessary if ``pwm_led0`` refers to hardware that is
35 already connected to an LED on the board.
39 .. list-table::
40 :header-rows: 1
42 * - Board
43 - Wiring
44 * - :zephyr:board:`nucleo_f401re`
45 - connect PWM2 (PA0) to an LED
46 * - :zephyr:board:`nucleo_l476rg`
47 - connect PWM2 (PA0) to an LED
48 * - :zephyr:board:`stm32f4_disco`
49 - connect PWM2 (PA0) to an LED
50 * - :zephyr:board:`nucleo_f302r8`
51 - connect PWM2 (PA0) to an LED
52 * - :zephyr:board:`nucleo_f103rb`
53 - connect PWM1 (PA8) to an LED
54 * - :zephyr:board:`nucleo_wb55rg`
55 - connect PWM1 (PA8) to an LED
56 * - :zephyr:board:`esp32_devkitc_wroom`
57 - connect GPIO2 to an LED
58 * - :zephyr:board:`esp32s2_saola`
59 - connect GPIO2 to an LED
60 * - :zephyr:board:`esp32c3_devkitm`
61 - connect GPIO2 to an LED
66 To build and flash this sample for the :ref:`nrf52840dk_nrf52840`:
68 .. zephyr-app-commands::
69 :zephyr-app: samples/basic/blinky_pwm
70 :board: nrf52840dk/nrf52840
77 prints information to the board's console.