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

How feasible is to use PWM for one minute interval for each high and low pulse?

Hello,

I am experimenting with PWM for time, I have a setup where I am using three sensor which gives analogue output. 

I am using a mux which has two control pins, so I am controlling control pins with PWM, now I am experimenting with time, how it is possible to make a PWM signal of 1 minute at high level and 1 minute at low level? how do I change prescaler in nRF52dk to create such a slow clock.

regards,

Jaydip

Parents Reply Children
  • Hello Jaydip,

    Jaydipsinh440 said:
    Thanks karl for replying,

    No problem at all, I am happy to help!

    Jaydipsinh440 said:

    I will change duty cycle for different use cases so I think I will use PWM instead of timer.

    I will check the link you've suggested and let you know if something still unclear.

    Great! I then think the PWM library example would be the best place for you to start.

    Please do not hesitate to let me know if you should encounter any other issues or questions.

    Best regards,
    Karl

Related