Hi everyone, I'm learing to program in keil c. anyone help me to generate PWM signal using interrupt. I am using xc164cs controller and i have starter kit also. problem is i have written code using interrupt but while running the prog it is not entering into the interrupt service routine function. I had set global interrupt enable. another problem is the GPT is running but the overflow latch value toggles randomly(not specific to the time period). so anyone help me to make the timer run properly and to use interrupt service routine properly.If there is any sample program attach me..
Thanks in advance
Raj.