This covers how microcontrollers generate PWM output signals. Using two example we will see how to configure PWM pins to output higher and user defined PWM output frequencies.
Code and Wiring diagram are available here:
http://geekeeceebee.com/PWM_Output.html