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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
08/17/03 03:39
Read: times


 
#52728 - RE: Help me for LCD 16x2 , plz !
Responding to: ???'s previous message
Dear phan tuan son

Most of the LCDs I have used have an active high enable signal. Your code suggests that you are using active low. Perhaps your problem lies here. this is an extract of your Write_Text subroutine.

SETB B0h.7 ;set EN line
SETB B0h.6 ;RS line ?
MOV 80h,E0h ;data to write
CLR B0h.7 ;clr EN line
LCALL WAIT_LCD
RET

You should change this to look like this
SETB B0h.6
MOV 80h,E0h
SETB B0h.7 ;set EN line
CLR B0h.7 ;clr EN line
LCALL WAIT_LCD
RET

I hope your problem is solved by this. Of course, you have to make similar changes wherever you write to the LCD either command or data.


Jerson

List of 26 messages in thread
TopicAuthorDate
Help me for LCD 16x2 , plz !            01/01/70 00:00      
   RE: Help me for LCD 16x2 , plz !            01/01/70 00:00      
      RE: Help me for LCD 16x2 , plz !            01/01/70 00:00      
         RE: Help me for LCD 16x2 , plz !            01/01/70 00:00      
            RE: Help me for LCD 16x2 , plz !            01/01/70 00:00      
   RE: Help me for LCD 16x2 , plz !            01/01/70 00:00      
      RE: Help me for LCD 16x2 , plz !            01/01/70 00:00      
         RE: Help me for LCD 16x2 , plz !            01/01/70 00:00      
         RE: Help me for LCD 16x2 , plz !            01/01/70 00:00      
            RE: Help me for LCD 16x2 , plz !            01/01/70 00:00      
               RE: Help me for LCD 16x2 , plz !            01/01/70 00:00      
                  RE: Help me for LCD 16x2 , plz !            01/01/70 00:00      
                  RE: Help me for LCD 16x2 , plz !            01/01/70 00:00      
                     RE: Help me for LCD - Mak            01/01/70 00:00      
                        RE: Help me for LCD - Mak            01/01/70 00:00      
                     RE: Help me for LCD 16x2 , plz !            01/01/70 00:00      
      RE: Help me for LCD 26x48 , plz !            01/01/70 00:00      
         RE: Help me for LCD 26x48 , plz !            01/01/70 00:00      
         RE: Help me for LCD 26x48 , plz !            01/01/70 00:00      
         RE: Help me for LCD 26x48 , plz !            01/01/70 00:00      
   RE: Help me for LCD 16x2 , plz !            01/01/70 00:00      
      RE: Help me for LCD 16x2 , plz !            01/01/70 00:00      
         RE: P.S !            01/01/70 00:00      
      RE: Help me for LCD 16x2 , plz !            01/01/70 00:00      
   RE: Help me for LCD 16x2 , plz !            01/01/70 00:00      
   Muhammad Kamran            01/01/70 00:00      

Back to Subject List