Changing default PWM Freq in analogWrite()

I am thinking of using an Arduino processor for a large horsepower motor control application. In the past, I've used Motorola-based processors with an easy high-level way to change the PWM frequency (I normally run about 15 kHz). I took a look at the function analogWrite(pin, value) and it seems the default frequency is about 500 Hz. Is there any easy way to change this?

Regards, Rick


this has been discussed somewhere in the forum, not sure where. Try searching it with google, as the forum search itself is very limited.