In your defines you have to state what pin PWM 1 is (as well as 2, 3, 99, etc.; page 148 of the Manual). It looks like this:
DEFINE CCP1_REG PORTC
DEFINE CCP1_BIT 2
DEFINE CCP2_REG PORTC
DEFINE CCP2_BIT 1
Hope this helps.
In your defines you have to state what pin PWM 1 is (as well as 2, 3, 99, etc.; page 148 of the Manual). It looks like this:
DEFINE CCP1_REG PORTC
DEFINE CCP1_BIT 2
DEFINE CCP2_REG PORTC
DEFINE CCP2_BIT 1
Hope this helps.
Bookmarks