CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

How to use CCP1 and CCP2 together for different purpose

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
kaushalpatel7786



Joined: 13 Sep 2016
Posts: 4

View user's profile Send private message

How to use CCP1 and CCP2 together for different purpose
PostPosted: Tue Sep 13, 2016 2:07 pm     Reply with quote

I am using PIC16F914. I am trying to measure frequency in CCP1 and pulse width (Duty Cycle) in CCP2. Please help me on this. Thank in advance.
temtronic



Joined: 01 Jul 2010
Posts: 9174
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Tue Sep 13, 2016 7:19 pm     Reply with quote

First place to look is in the CCS manual, FAQ section and the extensive examples in the 'examples' folder.
Asking a question like 'measure frequency' is far too general. You should have said range (1Hz to 1MHz ), update time, signal source , etc.

The more information you supply the better, faster the answers you'll get.

Jay
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group