aeon782
Newbie level 2
Hi,
Can you please help me with this programming error. I am getting a compiler error "incomplete type is not allowed" for the following interrupt service routine code while compiling with PICmicro C compiler for a program running on PIC16F877:
char channB = 0;
int num = 0;
void interrupt isr(void) //incomplete type is not allowed
{
Can you please help me with this programming error. I am getting a compiler error "incomplete type is not allowed" for the following interrupt service routine code while compiling with PICmicro C compiler for a program running on PIC16F877:
char channB = 0;
int num = 0;
void interrupt isr(void) //incomplete type is not allowed
{
if(RBIF == 1)
{
}{
num++;
channB = PORTB;
RBIF = 0;
}channB = PORTB;
RBIF = 0;