Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
02/18/03 23:41
Read: times


 
#39398 - RE: calculating a delay ... addendum
Responding to: ???'s previous message
For reliable software delays you really should code the delay subroutine(s) in assembly language like suggested by others. If you configure a subroutine for say a 1Msec delay then you can make it in normal assembler and write the prototype for it in C simply as:

void Delay1MSec(void);

...This can be called from C easily as:

Delay1MSec();

..Easy as pie.

For assistance on designing the delay subroutine to get it just right please see my delay subroutine calculator. It is an EXCEL spreadsheet download so you must have EXCEL for it to work.

Michael Karas


List of 10 messages in thread
TopicAuthorDate
calculating a delay ms and us            01/01/70 00:00      
   RE: calculating a delay ms and us            01/01/70 00:00      
      RE: calculating a delay ms and us            01/01/70 00:00      
         RE: calculating a delay ms and us            01/01/70 00:00      
         RE: calculating a delay ms and us            01/01/70 00:00      
            RE: calculating a delay ms and us            01/01/70 00:00      
         RE: calculating a delay ms and us            01/01/70 00:00      
            RE: calculating a delay ms and us            01/01/70 00:00      
   RE: calculating a delay ... addendum            01/01/70 00:00      
      RE: calculating a delay ... addendum            01/01/70 00:00      

Back to Subject List