Go Down

Topic: Setting the PWM frequency to 25kHz - Arduino Due (Read 2142 times) previous topic - next topic


Hi guys,
I would like to set the frequency of the PWM (Arduino Due) to 25Khz with 12 bits resolution... Please, can anyone help me?

Thank you,



The "pwm01.h" library will accommodate your needs.  Library, instructions and example in link below.  The function "pwm_set_resolution" sets the resolution in bits.  If needed, you can setup two separate PWM frequencies in the same program.  Good luck.



Hi guys

How can I modify the pwm01.h in order to generate a 120 degree   phase shift between 3 pwm signals ?

Thanks in advance

Go Up