In this tutorial we explain step by step how to generate a PWM signal (Pulse Width Modulation) using a timer driven interrupt routine. This PWM signal can for example be used to drive a servo. Besides some extra knowledge about the microcontroller you will have a working light tracker, after completing this tutorial!