PWM frequency library

I have working "high resolution" functions and an example, I will post it later today when I get the chance.