1# PWM common mode {#pwm_common_desc}
2
3The sample demonstrates a basic functionality of the nrfx_pwm driver for a sequence loaded in the common mode.
4
5## Requirements
6
7The sample supports the following development kits:
8
9
10| **Board**           | **Support** |
11|---------------------|:-----------:|
12| nrf52dk_nrf52832    |     Yes     |
13| nrf52833dk_nrf52833 |     Yes     |
14| nrf52840dk_nrf52840 |     Yes     |
15| nrf5340dk_nrf5340   |     Yes     |
16| nrf9160dk_nrf9160   |     Yes     |
17
18## Overview
19
20Application initializes the nrfx_pwm driver.
21It plays a simple sequence on LEDs (breathing effect) and replays this sequence @p NUM_OF_LOOPS times.
22@p pwm_handler() is executed with a relevant log message after every loop.
23
24> For more information, see **PWM driver - nrfx documentation**.
25
26## Wiring
27
28To run this sample, no special configuration is needed.
29You should monitor the output from the board to check if it is as expected.
30
31## Building and running
32
33To run this sample, build it for the appropriate board and then flash it as per instructions in [Building and running](@ref building_and_running) section.
34
35## Sample output
36
37You should see the following output:
38
39```
40- "Starting nrfx_pwm example for sequence loaded in common mode."
41- "Loops: 1 / 3"
42- "Loops: 2 / 3"
43- "Loops: 3 / 3"
44- "PWM finished"
45```
464 LEDs on the development kit should blink in the following sequence:
47
48@cond DOXYGEN_EXCLUDE
49![pwm_common_gif](../../../doc/images/pwm_common_desc.gif "PWM common example")
50@endcond
51
52@image html pwm_common_desc.gif "PWM common example"
53
54[//]: #
55[Building and running]: <../../../README.md#building-and-running>
56