Hi All,
I am currently writing some code in C on Mikro C platform. The program is supposed to doba led chaser on port D of pic18f54k20, I am using debug PCB on pickit 3. Then it's supposed to flash led on port c bit 0 every second. It does the led chaser routine but never goes into the interrupt.
I have attached the code, any help would be appreciated. Note in the interrupt routine I gave truedt both intcon 0x20 and intcon 0x02 to clear the interrupt flag.
Thanks in advance.
Rajinder
I am currently writing some code in C on Mikro C platform. The program is supposed to doba led chaser on port D of pic18f54k20, I am using debug PCB on pickit 3. Then it's supposed to flash led on port c bit 0 every second. It does the led chaser routine but never goes into the interrupt.
I have attached the code, any help would be appreciated. Note in the interrupt routine I gave truedt both intcon 0x20 and intcon 0x02 to clear the interrupt flag.
Thanks in advance.
Rajinder