This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

How to use nrf_drv_pwm_simple_playback correct

Hi,

I started to implement the nrf ppm driver into my application. It is a smart connected grand light.

My goal is to smoothly fade the connected power LEDs on, hold for a while and to fade them off. I need to control these steps independent from each other in order to prevent a fade off sequence. The image below shows the sequences:

  

I tested the nrf_drv_pwm_simple_playback functions but I can not figure out how to use it the right way to achieve what I need for my application. Can someone who already have implemented this feature give me some advices on how to do it the right way?

Thanks for any tips!

Best regards,

Nils

  • My goal is to smoothly fade the connected power LEDs on, hold for a while and to fade them off.
    I need to control these steps independent from each other in order to prevent a fade off sequence.

     These two statements are contradictory, what exactly do you mean by "prevent a fade off sequence"?

    What have you done so far?

    What did you expect to observe and what did you actually observe? 

Related