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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
03/17/09 00:56
Read: times


 
#163514 - Some thoughts...
Responding to: ???'s previous message
First and foremost, please do not use SMS. You are asking professional engineers to help with your problem, please give them due respect and use full words.

When an LCD displays black boxes in the first row it means it is not initialized. A quick glance at your INIT code shows you are sending 38h to the LCD with the RW line in an unknown state, probably high, meaning a READ operation. You do not specifically clear RW until the following WAIT routine. There may be other problems but I have not looked at all your code since you are not initializing the LCD properly.
Do something to get that 6.2 volts down to +5, it will help to keep all the smoke inside the chips.

Whenever I write LCD code I call the WAIT routine first before any operation. It shortens the WAIT period since you are able to set up for the operation while the display is doing its thing. If you call wait after your operation everything comes to a halt while the LCD performs its task. Most operations are very quick but two of them, Curser Home and Clear Display take over 1.6 milliseconds.

List of 9 messages in thread
TopicAuthorDate
JHD162a wid at89c52......conceptual problem...PLz Help!            01/01/70 00:00      
   Some thoughts...            01/01/70 00:00      
   see this            01/01/70 00:00      
      Comments?            01/01/70 00:00      
      Code????            01/01/70 00:00      
         contrary...            01/01/70 00:00      
   Why you should comment your code            01/01/70 00:00      
   Introduce Delay            01/01/70 00:00      
      speaking of delay ...            01/01/70 00:00      

Back to Subject List