Thanks for the reply.
I did not mention that i have tried the Library without modify it , and this was working well for a simple setup. But the Next thing is to setup timer 4 and 5. I can not find any good explanation on the web for correct setting of them . all tutorials is on timer1 or timer 0 . Since atmega4560 has different settings in registrer than ex uno , are they not so relevant for my purpose.
I Guess there is some other out there who needs the same explanation ?
So to be Clear : what setting should be done for setting up timer 4 to fast PWM on 6,7,8 and what setting should be done for setting up timer 5 to fast PWM on 44 ,45,46