upand_at_them
Active Member
I'm now trying hardware PWM on the 16F886, but I'm a bit confused by the datasheet.
It looks like I can create two PWM pins (CCP1 and CCP2), but the definition for the CCP1CON register has a different definition than CCP2CON.
I know there's an ECCP module that uses CCP1CON, but it seems to imply that this register can also be used like CCP2CON for regular PWM.
Do I need to read it five more times?
It looks like I can create two PWM pins (CCP1 and CCP2), but the definition for the CCP1CON register has a different definition than CCP2CON.
I know there's an ECCP module that uses CCP1CON, but it seems to imply that this register can also be used like CCP2CON for regular PWM.
Do I need to read it five more times?