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

Search found 3 matches
CCS Forum Index
Author Message
  Topic: measure square wave frequency with CCP1 and CCP2
gabbo141

Replies: 5
Views: 7085

PostForum: General CCS C Discussion   Posted: Sun Oct 19, 2008 9:27 am   Subject: measure square wave frequency with CCP1 and CCP2
dear ttl
yes...You've got it!....although my bad english
but I didn't understand



#define MID_TONE (1000)
//You need to define this based on the time interval expected
//For a tone h ...
  Topic: measure square wave frequency with CCP1 and CCP2
gabbo141

Replies: 5
Views: 7085

PostForum: General CCS C Discussion   Posted: Sun Oct 19, 2008 3:11 am   Subject: re
dear PCM programmer

thanks for your interest,

I try to answer

1. I have a ir receiver that generate a different (in frequency) square wave depending on which button is pressed on the ir trans ...
  Topic: measure square wave frequency with CCP1 and CCP2
gabbo141

Replies: 5
Views: 7085

PostForum: General CCS C Discussion   Posted: Sat Oct 18, 2008 12:22 pm   Subject: measure square wave frequency with CCP1 and CCP2
Hello at all!
I've a problem..Smile

At button pression a square wave and ac continuous signal arrive
respectively to pin RC2 and RC1. The frequency is about 100 Hz.
I used the CCP2 module as a s ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group