PIC18F2480 with the servo controller component
Posted: Fri May 03, 2024 8:51 pm
I am using the servo controller set to 8 channels connected to port B on the 18F2480.
When I try to build to hex I get a CCP2 error. According to the data sheet there is only a CCP1 register in the device.
Can anyone shed any light as to why the XC8 compiler is trying to use CCP2 when it does not exist?
error: (192) undefined identifier "CCP2CON"
When I try to build to hex I get a CCP2 error. According to the data sheet there is only a CCP1 register in the device.
Can anyone shed any light as to why the XC8 compiler is trying to use CCP2 when it does not exist?
error: (192) undefined identifier "CCP2CON"