Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

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.

Latest threads

New Articles From Microcontroller Tips

Back
Top