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 CCS Technical Support

PIC CCP mode

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



Joined: 23 Aug 2007
Posts: 2

View user's profile Send private message

PIC CCP mode
PostPosted: Thu Aug 23, 2007 4:08 am     Reply with quote

i want to know about PIC Compratr mode how it can be programmed to achieve comprator histresis i.e to achive stability to on/off a device.
Ttelmah
Guest







PostPosted: Thu Aug 23, 2007 5:12 am     Reply with quote

The comparator, is not the CCP module. However, so long as you are 'aware' of this, no problem....

Two routes exist. The first is to use an output pin to reflect the comparator state, and use this to apply a bias to the incoming signal or the reference to implement hysteresis.
The alternative, is to use the comparator reference module, and change the tap being used on this, when the comparator interrupt occurs.

Best Wishes
j_reza
Guest







PIC CCP mode
PostPosted: Thu Aug 23, 2007 6:06 am     Reply with quote

plz explain the two routes through C programming
habib



Joined: 23 Aug 2007
Posts: 2

View user's profile Send private message

Re: PIC CCP mode
PostPosted: Wed Sep 05, 2007 11:52 pm     Reply with quote

is there any other way to achieve comprator histresis in C programming without using PIC builin comparator module
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