How to change Arduino due PWM output frequency?

Does anybody have any idea how to change Arduino Due output pins frequency. I do not find any information anywhere.

I do not find any information anywhere.

All of the information you need is in the datasheet for the processor on your board.

here

forum.arduino.cc/index.php?topic=131323.15

Hi there @wachaudhary,

Have a look to pwm_lib, you can use example basic_test.ino as an starting point. The library is available at:

https://github.com/antodom/pwm_lib

With pwm_lib you can use any of the PWM channels available on the ATSAM3X8E.

If in any doubt, just let me know. I hope it helps.

antodom: Hi there @wachaudhary,

Have a look to pwm_lib, you can use example basic_test.ino as an starting point. The library is available at:

https://github.com/antodom/pwm_lib

With pwm_lib you can use any of the PWM channels available on the ATSAM3X8E.

If in any doubt, just let me know. I hope it helps.

This is what i was looking for :) Bundle of thanks :)