@SuperGops When you want to create a PWM signal, why don't you just use

analogWrite(dutycycle)

to just create your PWM? Is there any specific reason you are going for interrupts?