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

Back to Subject List

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


 
#158717 - But how about the control defs
Responding to: ???'s previous message
But how are the definitions of the control lines defined. You indicated that ENABLE is connected to P3.7 and RS is connected to P3.5. When you move the LCD module connections to P1 or P2 are you also moving the ENABLE and RS connections to the upper pins of P1 or P2? If so you will also need to change the definitions of the ENABLE and RS bits so that they move too.

Without seeing how you have your code setup it is kind of hard to guess further what could be wrong. As long as P1 or P2 are setup as regular ports (nor being leveraged as external memory bus) they should work equally well with the LCD module provided you have all the definitions correct.

Michael Karas


List of 29 messages in thread
TopicAuthorDate
lcd port switching problem            01/01/70 00:00      
   P0 does not have internal pull-ups            01/01/70 00:00      
   P1 or P2 should work similarly            01/01/70 00:00      
   i do know that about P0            01/01/70 00:00      
      But how about the control defs            01/01/70 00:00      
         yes i have moved them as well            01/01/70 00:00      
         here is the lcd part of the code            01/01/70 00:00      
            correct me if i am wrong            01/01/70 00:00      
               Tried everything?            01/01/70 00:00      
      Again, I guess you are mixing            01/01/70 00:00      
         could you please poin it out in the code            01/01/70 00:00      
   header file            01/01/70 00:00      
      the above show NOTHING, but here is a guess            01/01/70 00:00      
   hardware problem?            01/01/70 00:00      
      errors not consistent            01/01/70 00:00      
         I am somewhat puzzeled...            01/01/70 00:00      
            come conufusion with the file            01/01/70 00:00      
               My suggestion was to...            01/01/70 00:00      
                  will try that michael            01/01/70 00:00      
         Multimeter is enough            01/01/70 00:00      
            will try that out            01/01/70 00:00      
               Tests both sw and hw            01/01/70 00:00      
   lcd simulator (from keil)            01/01/70 00:00      
      i do not know your chip ...            01/01/70 00:00      
         keep in reset as in ?            01/01/70 00:00      
            if open collector supervisor and reset low            01/01/70 00:00      
   the lcd worked on P0 with pull ups            01/01/70 00:00      
      which processor?            01/01/70 00:00      
         AT89C52            01/01/70 00:00      

Back to Subject List