Change frequency during the program is running with PWM library

Hello everyone,

I would like to ask, using the Arduino PWM library, if i can change the frequency during the program and if someone knows, send me the code which does it. It is very important so if anyone knows please help me.

Thank you all in advance.

I would like to ask, using the Arduino PWM library, if i can change the frequency during the program

Yes, you can.

send me the code which does it

You have to send the money, first.