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

delay_ms and pic16f628a

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







delay_ms and pic16f628a
PostPosted: Fri Jan 25, 2008 7:22 am     Reply with quote

Hi.
I can´t use the function delay_ms and delay_us with any values.
I can´t use delay_us(1000) , the delay is lower than 1000 and i can´t use delay_ms(5).
are there limits for delay?
SherpaDoug



Joined: 07 Sep 2003
Posts: 1640
Location: Cape Cod Mass USA

View user's profile Send private message

PostPosted: Fri Jan 25, 2008 8:30 am     Reply with quote

It should take any 16 bit constant, or 8 bit variable.

Give us a short complete program to demonstrate the problem. Note your compiler version.
_________________
The search for better is endless. Instead simply find very good and get the job done.
alex
Guest







PostPosted: Fri Jan 25, 2008 4:47 pm     Reply with quote

I´m out of my work now, so I will take it Monday. sorry.
I would like to simulate the CCS source in Proteus, it is possible?
Are there a tutorial in the net?
thanks
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Fri Jan 25, 2008 4:55 pm     Reply with quote

Please ask the question on the Proteus forum. Sample thread:
http://support.labcenter.co.uk/forum/viewtopic.php?t=410
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