PWM on the 16F886

Status
Not open for further replies.

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?
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…