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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
04/11/11 08:11
Read: times


 
#181806 - RE: Delays
Responding to: ???'s previous message
Oliver Sedlacek said:
I can't tell how long your delay loops take because they are in C

Even if you had posted assembler, it would still be impossible to tell how long your delays are - because you have not stated your clock frequency and whether you are using an "accelerated" mode.

you could try making them all much longer (e.g. 10 times longer).

If the compiler has optimised-out the loops, that will have no effect at all - see: http://www.8052.com/forum/read/181789




List of 4 messages in thread
TopicAuthorDate
LCD 16*2 Display Problem            01/01/70 00:00      
   Illegible source code; 'C' timing loops            01/01/70 00:00      
   Delays            01/01/70 00:00      
      RE: Delays            01/01/70 00:00      

Back to Subject List