Phase Correct PWM library?

Great it works!
Even with Timer1 on the Mega.

Your Code and Information are very helpfull. Thank you very much again!

Next step will be the ATiny85 with the internal PLL and 64MHz PWM. Got some promising information:
https://www.google.com/search?q=PCKE+PLLCSR&nfpr=1

Cheers!