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

For those interested in ir bit timing

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



Joined: 16 Sep 2008
Posts: 51

View user's profile Send private message Send e-mail

For those interested in ir bit timing
PostPosted: Fri Oct 24, 2008 10:03 am     Reply with quote

Hello 2 all !

My thread refers to the following code :http://www.ccsinfo.com/forum/viewtopic.php?t=26226.
I'm interested especially in the way the values of the ONE_MIN,ONE_MAX,ZERO_MIN,ZERO_MAX are calculated.

The calculation is, as follows :
- interrupt rate : 4/32000000 (clock rate)*65536(16 bit timer1) *1(prescaler value) = 8.192 ms --- so this is right
- in 1.8 ms there should be : 0,0018/0,000000125(clock period)=14400 --- again right


That's all folks !

Cheers![/url]
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