Interrupt problem on CCP

Status
Not open for further replies.

NST

New Member
Hello I am working on a project which use CCP Interrupt.

When I run this code;

Code:
for (i=1;i<27;i++)
{
select(i);
delay_ms(300);
}

CCP Interrupt is not responding until the end of for loop. That means I cannot get response about 26 x 300 ~ 8 seconds.

But I have to stop this loop when a CCP interrupt is inbound.

Help me please.
 
Last edited:
I think you need to post all your code if you want any help.

Mike.
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…