I'm using the PIC16f18325, but I think there is something wrong with the "servo controller" component.
As soon as I try to compilea program using the component, I get following error log.
Code: Select all
Test 16f18325 enkel servo.c: FCD_0dd21_Servo_Controller1__Initialise()
1127: PIE1bits.CCP1IE = 1;
^ (255) not a member of the struct/union ""
^ (182) illegal conversion between types
int -> volatile union S84
1130: PIE2bits.CCP2IE = 1;
^ (255) not a member of the struct/union ""
^ (182) illegal conversion between types
int -> volatile union S86
Test 16f18325 enkel servo.c: myisr()
1264: if ((PIR1bits.CCP1IF) && (PIE1bits.CCP1IE))
^ (255) not a member of the struct/union ""
^ (255) not a member of the struct/union ""
(199) logical type required ^
(199) logical type required ^
1457: PIR1bits.CCP1IF = 0;
^ (255) not a member of the struct/union ""
^ (182) illegal conversion between types
int -> volatile union S33
1463: if ((PIR2bits.CCP2IF) && (PIE2bits.CCP2IE))
^ (255) not a member of the struct/union ""
^ (255) not a member of the struct/union ""
(199) logical type required ^
(199) logical type required ^
1634: PIR2bits.CCP2IF = 0;
^ (255) not a member of the struct/union ""
^ (182) illegal conversion between types
int -> volatile union S35
(908) exit status = 1
(908) exit status = 1
Error returned from [xc8.exe]
C:\Program Files (x86)\Flowcode\Common\Compilers\pic\batch\pic_xc8_comp.bat reported error code 1
FINISHED
Thanks!