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

Back to Subject List

Thread Closed: Issue successfully resolved

???
02/05/04 12:17
Read: times


 
#64054 - RE: 8051 with LCD
Responding to: ???'s previous message

But I have a problem with the WAIT_LCD PROC. It sets all bits of ODATA to 1s (FFh) but it then checks if bit 7 of ODATA is low otherwise it loops back to WAIT_LCD. If this is the case will this not be an endless loop as bit 7 will always be high in this procedure or am I interpreting the code wrong.


It sets all bits of ODATA to 1: this way you can define your port as input. And bit 7 will be cleared by the LCD as soon as the LCD is ready...



regards
Patrick

List of 32 messages in thread
TopicAuthorDate
8051 with LCD            01/01/70 00:00      
   RE: 8051 with LCD            01/01/70 00:00      
      RE: 8051 with LCD            01/01/70 00:00      
      RE: 8051 with LCD            01/01/70 00:00      
      RE: 8051 with LCD            01/01/70 00:00      
         RE: 8051 with LCD            01/01/70 00:00      
   RE: 8051 with LCD            01/01/70 00:00      
   RE: 8051 with LCD            01/01/70 00:00      
      RE: 8051 with LCD            01/01/70 00:00      
   RE: 8051 with LCD            01/01/70 00:00      
   8051 with 20x2 LCD            01/01/70 00:00      
      RE: 8051 with 20x2 LCD            01/01/70 00:00      
      RE: 8051 with 20x2 LCD            01/01/70 00:00      
         RE: 8051 with 20x2 LCD            01/01/70 00:00      
            RE: 8051 with 20x2 LCD            01/01/70 00:00      
               RE: 8051 with 20x2 LCD            01/01/70 00:00      
                  RE: 8051 with 20x2 LCD            01/01/70 00:00      
                     RTFM            01/01/70 00:00      
                        Could not agree more!            01/01/70 00:00      
                        RE: RTFM            01/01/70 00:00      
                        RE: RTFM            01/01/70 00:00      
                     RE: 8051 with 20x2 LCD - Russell            01/01/70 00:00      
                        RE: 8051 with 20x2 LCD - Russell            01/01/70 00:00      
                           RE: 8051 with 20x2 LCD - Russell            01/01/70 00:00      
                              RE: 8051 with 20x2 LCD - Oleg            01/01/70 00:00      
      RE: 8051 with 20x2 LCD - Kapil            01/01/70 00:00      
         RE: 8051 with 20x2 LCD - Kapil            01/01/70 00:00      
            RE: 8051 with 20x2 LCD - Kapil            01/01/70 00:00      
               RE: 8051 with 20x2 LCD            01/01/70 00:00      
                  RE: 8051 with 20x2 LCD            01/01/70 00:00      
            RE: 20x2 LCD = 16x2 LCD !            01/01/70 00:00      
               RE: 20x2 LCD = 16x2 LCD !            01/01/70 00:00      

Back to Subject List