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 2 matches
CCS Forum Index
Author Message
  Topic: about setup_timer_2.. please help
huiching

Replies: 3
Views: 13962

PostForum: General CCS C Discussion   Posted: Thu Mar 31, 2011 10:38 am   Subject: about setup_timer_2.. please help
cycle time has an equation of (1/clock)*4*t2div*(period+1).
in my program, clock = 20 MHz and period equal 255
so, cycle time = 1/20M) * 4 * 4 * 256

Is the above statement true?
  Topic: about setup_timer_2.. please help
huiching

Replies: 3
Views: 13962

PostForum: General CCS C Discussion   Posted: Fri Mar 25, 2011 7:03 am   Subject: about setup_timer_2.. please help
I have a gear motor.. rpm: 50
What parameter i should put in setup_timer_2()
For example setup_timer_2(T2_DIV_BY_4, 255, 1);
How to make the calculation?
Kindly please help me..
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group