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 06:27
Read: times


 
#148762 - I've found the opposite!
Responding to: ???'s previous message
As for checking lcd busy - that requires another port pin! Then what happens when the lcd fails? The code gets stuck in the wait loop unless you check for a timeout. 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. 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!

As for binary number in 'c' - some compilers allow 0b for binary. I'm sure someone can inform as to the standard in this regard.

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