So in etwa:

http://www.rn-wissen.de/index.php/Bascom_und_PWM