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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
08/12/06 05:07
Read: times


 
#122111 - 4-bit LCD ... single PORT
Hello All ...
I am facing a problem in writing code for LCD in 4-bit mode ...

The PIN configuration is ...


db4 equ p1.0
db5 equ p1.1
db6 equ p1.2
db7 equ p1.3

rs equ p1.5
rw equ p1.6
en equ p1.7

I have read the tutorial

"Tutorial: Introduction to LCD Programming 2: Driving 4-bit Mode"

of this site ... but my probs is I have to use a single PORT ie

PORT 1in this case for the DATA BUS and the CONTROL BUS ...

I need help for the INTIALIZATION code of the LCD ... as I am

not succeding in it ...

The reading and writing LCD is given in the tutorial ... and I

have modified accordingly to my need ... but the problem is

arising in the INTIALIZATION of LCD itself ...

Waiting for the guidance ...

AS

List of 52 messages in thread
TopicAuthorDate
4-bit LCD ... single PORT            01/01/70 00:00      
   there's a datasheet            01/01/70 00:00      
      LCD datasheets ...            01/01/70 00:00      
         the Hitachi Datasheet for HD44780 is not like that            01/01/70 00:00      
         VFDs: Lucky b*stard            01/01/70 00:00      
   4-bit LCD            01/01/70 00:00      
      There are examples on 8052.COM if you search            01/01/70 00:00      
         And you don't need R/W*            01/01/70 00:00      
            but be aware! You discard several functions.            01/01/70 00:00      
               on saving pins            01/01/70 00:00      
                  wait a minute ...            01/01/70 00:00      
                     Richard, please            01/01/70 00:00      
                        Why should he change direction?            01/01/70 00:00      
                           no such impilcation            01/01/70 00:00      
                              well, the logic is simple ...            01/01/70 00:00      
                                 OK, as always            01/01/70 00:00      
                  Richard, quit bickering            01/01/70 00:00      
                     it goes to an OLD issue            01/01/70 00:00      
                        as I see it is that this is GREAT.            01/01/70 00:00      
                  On saving pins            01/01/70 00:00      
                  read the forum messages, don't glance            01/01/70 00:00      
   Here is my example            01/01/70 00:00      
      why do you persist in 'advertising' this CRAP            01/01/70 00:00      
         Attack, Attack, Attack.            01/01/70 00:00      
            get your facts straight            01/01/70 00:00      
               Did you understand real life ?            01/01/70 00:00      
                  yes, I do            01/01/70 00:00      
   Answer            01/01/70 00:00      
      Jon, great answer            01/01/70 00:00      
         Yes, indeed, ... BUT ...            01/01/70 00:00      
            How do you know...            01/01/70 00:00      
               It's possible that things worked that way            01/01/70 00:00      
   Better late than never            01/01/70 00:00      
      \"It works\"            01/01/70 00:00      
         Yes, it does            01/01/70 00:00      
            does that mean they're all alike?            01/01/70 00:00      
               Yes, if all guys would read the datasheets...            01/01/70 00:00      
                  Hitachi JHD 162a            01/01/70 00:00      
                     Point missed            01/01/70 00:00      
                     That's not relevant!            01/01/70 00:00      
                        Advice appriciated            01/01/70 00:00      
                           where are you going to find that?            01/01/70 00:00      
      well, you just posted your own 'comment'            01/01/70 00:00      
   Simple Guidance            01/01/70 00:00      
      One LCD, One Port            01/01/70 00:00      
      horsefeathers, male cow manure            01/01/70 00:00      
   GOD!!!            01/01/70 00:00      
      try a shadow register            01/01/70 00:00      
   Full assembly Code ... LCD 4 bit            01/01/70 00:00      
      On first reading...            01/01/70 00:00      
      probs in 2 SUBROUTINES ...            01/01/70 00:00      
   Many ways to skin a cat            01/01/70 00:00      

Back to Subject List