Go Down

Topic: Setting the PWM frequency to 25kHz - Arduino Due (Read 2172 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

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131