Quote Originally Posted by k-hirayama View Post
DEFINE CCP1_REG PORTB
DEFINE CCP1_BIT 0
DEFINE CCP2_REG PORTB
DEFINE CCP2_BIT 1
DEFINE CCP3_REG PORTB
DEFINE CCP3_BIT 2
Look at the '873 datasheet.
How many CCP modules does the '873 have?
What pins are those modules assigned to?