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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
12/27/07 09:45
Read: times


 
#148772 - Another opposite
Responding to: ???'s previous message
Russell Bull said:
As for checking lcd busy - that requires another port pin!


Which pin might that be? R/W?

Russell Bull said:
Then what happens when the lcd fails? The code gets stuck in the wait loop unless you check for a timeout.


The watchdog bites the fat and lazy LCD !!!

Russell Bull said:
Then what do you do if it times out? I got caught by this years ago, so now i don't bother with checking the busy status - just a fixed delay.


Your programs will be that much slower. Yeah - the LCD can really slow things quite radically. With constant delays one has to plan with worst case scenario.

Russell Bull said:
If the lcd fails - the code keeps going. I've found the displays I've used over the years are quite consistant with timing. So choose your poison!


If the LCD fails it should be reset. One way to do this is to harness yet another pin and have it control the VCC of the display.




List of 20 messages in thread
TopicAuthorDate
LCD 8x24 - samsung 0282a            01/01/70 00:00      
   add. info            01/01/70 00:00      
   add. info            01/01/70 00:00      
   What language are you using?            01/01/70 00:00      
      solved!            01/01/70 00:00      
         Binary numbers in 'C'            01/01/70 00:00      
      Wrong operator            01/01/70 00:00      
         As You are using C, why not            01/01/70 00:00      
   Do not use fixed delays - check for LCD busy            01/01/70 00:00      
      I've found the opposite!            01/01/70 00:00      
         Binary numbers in 'C'            01/01/70 00:00      
         Infinite waits            01/01/70 00:00      
            Actually it is time            01/01/70 00:00      
         Another opposite            01/01/70 00:00      
            and ..            01/01/70 00:00      
               Whoaaaaaa.....            01/01/70 00:00      
               LCD Timeout            01/01/70 00:00      
      Code formatting - avoid TABs            01/01/70 00:00      
         Oh - sorry about that ...            01/01/70 00:00      
   Did you see this?            01/01/70 00:00      

Back to Subject List