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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
04/07/03 21:54
Read: times


 
#43044 - RE: Time delay in C
Responding to: ???'s previous message
If you're doing it in 'C', then a delay loop is not a good idea. This is because 'C' does not guarantee that any given source line will generate any particular set of machine instructions.

If you want to use delay loops to generate specific time intervals (and I don't think that would be a good idea for 1s), then you must use assembler.

http://www.8052.com/forum/read.phtml?id=42841

List of 7 messages in thread
TopicAuthorDate
Time delay in C            01/01/70 00:00      
   RE: Time delay in C            01/01/70 00:00      
   RE: Time delay in C            01/01/70 00:00      
      RE: Time delay in C            01/01/70 00:00      
   RE: Time delay in C            01/01/70 00:00      
   RE: Time delay in C            01/01/70 00:00      
      RE: Time delay in C            01/01/70 00:00      

Back to Subject List