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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
10/03/08 16:21
Read: times


 
#158817 - Phew.
Responding to: ???'s previous message
Mike Stegmaier said:
I used about a 1uS timing delay. I have an loop that counts from 0 to 4096, and I'm using a 18.432Mhz crystal.

I decided after all to try the 4-bit mode on the LCD, and it works well.


I bet you must clock that 8051 pretty fast.

Why not calculate the number of cycles you need in the timing loop as a function of F_CPU and your required delay ?
And then call the loop the required # of times.

David.




List of 10 messages in thread
TopicAuthorDate
weird output on LCD            01/01/70 00:00      
   Welcome back            01/01/70 00:00      
      try toggeling            01/01/70 00:00      
         Timing            01/01/70 00:00      
            some answers            01/01/70 00:00      
               Phew.            01/01/70 00:00      
               inter-character delay            01/01/70 00:00      
   Is 7/LCD connected to P1.0/'2051 at all?            01/01/70 00:00      
   Check Hardware            01/01/70 00:00      
   I had the same problem, ..... but solved            01/01/70 00:00      

Back to Subject List