PWM RGB Led with GPIOs


I am a newbie in the development of the C API of the DWM1001. I would like to know if it is possible to control an RGB LED by the GPIO header.
Is it possible to use PWM on these GPIO outputs?
Is there an example code for pulse width modulation?

Thank you


Hi Inaki,

if you talk about PANS library then it should be possible to control GPIOs using PWM.

If you want to use the on-board RGB you will need to disable the LEDs option in the node configuration to take over the control of the LED pins.

There are quite a few PWM examples for the nRF52832 on the internet. You can include or link those codes into your DWM application along with other PANS functions. The PWM controller is unused by PANS.



Thank you very much for your answer, I’m going to look for examples.