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

timer problem

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



Joined: 23 Sep 2003
Posts: 4

View user's profile Send private message

timer problem
PostPosted: Tue Jan 27, 2004 1:43 am     Reply with quote

HI..
I have a strange problem : using any timer i can't get a time period less then one full pass of the timer .
For example i configure the timer0 rtcc _div_1(no prescaler ) and i put in TMR0 a value less then 255.The timer period obtained is a full cycle :from 0 to 255.
Did you have a similar problem ...? I do not understand why :it's a compiler problem ,my code isn't ok ...In asembler I did obtained the right period ..
_________________
the next guy has always a better life
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Tue Jan 27, 2004 12:52 pm     Reply with quote

See the answer at the end of the following thread.
It will probably provide the answer to your problem.
If not, then post a small program that demonstrates the problem.
http://www.ccsinfo.com/forum/viewtopic.php?t=17984&highlight=reload+preset
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