Für PWM-Tutorial siehe mikrocontroller.net.
Gibts für Assembly und AVR-GCC.