Code: Select all
89: T1CONbits.T1OSCEN = 0;
^ (255) not a member of the struct/union ""
^ (182) illegal conversion between types
int -> volatile union S148
91: T1CONbits.TMR1CS1 = 1;
^ (255) not a member of the struct/union ""
^ (182) illegal conversion between types
int -> volatile union S148
94: PIE1bits.TMR1IE = 1;
^ (255) not a member of the struct/union ""
^ (182) illegal conversion between types
int -> volatile union S391
105: PIE1bits.TMR2IE = 1;
^ (255) not a member of the struct/union ""
^ (182) illegal conversion between types
int -> volatile union S391
Timer int 16F15324.c: myisr()
121: if ((PIR1bits.TMR1IF) && (PIE1bits.TMR1IE))
^ (255) not a member of the struct/union ""
^ (255) not a member of the struct/union ""
(199) logical type required ^
(199) logical type required ^
124: PIR1bits.TMR1IF = 0;
^ (255) not a member of the struct/union ""
^ (182) illegal conversion between types
int -> volatile union S374
134: if ((PIR1bits.TMR2IF) && (PIE1bits.TMR2IE))
^ (255) not a member of the struct/union ""
^ (255) not a member of the struct/union ""
(199) logical type required ^
(199) logical type required ^
137: PIR1bits.TMR2IF = 0;
^ (255) not a member of the struct/union ""
^ (182) illegal conversion between types
int -> volatile union S374
(908) exit status = 1
(908) exit status = 1
C:\Program Files (x86)\Microchip\xc8\v2.00\bin\xc8.exe reported error code 1