I have done IOCC1 and IOCC2 pins interrupt with milan.rajnik is edaboard user. Now I have to use IOCRB4-IOCRB7 pins to interrupt. I edited my code similarly, but program doesnt input interrupt routine. IOCRB4-IOCRB7 interrupts are difference IOCRC1 and IOCRC2.
Anyone could help?
Code is:
sbit W1D0 at RB4_bit;
sbit W1D1 at RB5_bit;
sbit W1D0_Direction at TRISB4_bit;
sbit W1D1_Direction at TRISB5_bit;
sbit LED1 at LATA1_bit;
sbit LED2 at LATA2_bit;
sbit LED1_Direction at TRISA1_bit;
sbit LED2_Direction at TRISA2_bit;
The pins are input and they are always HIGH.(The antenna send 5V always when it doesnt send data. When it sends data, It send logically LOW). Jayanth, if you can see my circuit that links is below, You will realize.