PWM question

For PWM it's more important to have the range (255) than to have a specific frequency.

Why do you want to change the frequency?