How to set 19.5Hz PWM frequency?

Thank you for your replies, soon i will have the solenoid in my hands so that i can test the code!