ac monophase motor control, timer1 pwm phase correct isues

hi!

it works!
i changed the others inicialization procedures to the same structure, the only remarks is the timers don't want to wokr independently and not more speed than prescaler 8 (16khz), i mean if i try to set one of them in prescaler 1 the others make very slow pwm
for my application is enough 16khz anyway, but i wish to know why i can't reach more speed with the tree timers
now i have 7 pwms, 6 on hardware 1 on soft, controlled by pots, the code is attached for reference for anybody who wants it.
Thanks for the help!

codigo_0_2.pde (10.1 KB)