I have looked at the WiringPi site and have found:
pwmSetRange (unsigned int range) ; This sets the range register in the PWM generator. The default is 1024. pwmSetClock (int divisor) ; This sets the divisor for the PWM clock.
What does that mean? What is the PWM clock and what is meant by "range register".