Veo que sigues avanzando, yo estuve mirando el otro dia, y en los atmegaxx8 si no me equivoco hay una funcion del timer0 con el modulo ccp, que permite complementar la salida y resetar el valor del timer0 todo por hardware, lo que lo hace idoneo para pwm del 50%. Aun no hice el programa, a ver si me pongo