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 int16

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



Joined: 07 May 2004
Posts: 263

View user's profile Send private message

delay_ms and int16
PostPosted: Sun Sep 14, 2008 2:40 pm     Reply with quote

I'm using an int16 variable in Delay_ms.
If I use V3.249 then it does not seem to work with numbers bigger than 255.
If I use 4.007 then it just seems to delay forever. Is this the correct behavior for 3.249? I think it is but the current manual says it should work with an int16, not just an int8.

So assuming that 4.007 is too crappy, is there an easy way to use delay_ms with numbers bigger than 255? I can make a loop and have it execute over and over again, but if there is a neater way I'd like to know.

Thanks
Ringo
_________________
Ringo Davis
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Sun Sep 14, 2008 2:45 pm     Reply with quote

http://www.ccsinfo.com/forum/viewtopic.php?t=32288
Ringo42



Joined: 07 May 2004
Posts: 263

View user's profile Send private message

PostPosted: Sun Sep 14, 2008 2:49 pm     Reply with quote

Thanks, That is much simpler that what I was thinking.
Ringo
_________________
Ringo Davis
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