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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
03/11/05 07:12
Modified:
  03/11/05 07:21

Read: times


 
#89436 - Be sure it solves your problem!
Responding to: ???'s previous message
Dear kitti
I have simulated your code exactly and saw your problem myself.
I have checked your code step by step and find
your problem is in initializing lcd
if you change your init_lcd routine by the following routine
Be sure your problem easily solved!

INIT_LCD:
SETB E
CLR RW
CLR RS
MOV P1,#00110000B
CLR E
LCALL WAIT_LCD
SETB E
CLR RW
CLR RS
MOV P1,#00110000B
CLR E
LCALL WAIT_LCD
SETB E
CLR RW
CLR RS
MOV P1,#00111000B
CLR E
LCALL WAIT_LCD
SETB E
CLR RW
CLR RS
MOV P1,#00001100B
CLR E
LCALL WAIT_LCD
SETB E
CLR RW
CLR RS
MOV P1,#00000110B
CLR E
LCALL WAIT_LCD
RET


Regards
Mehdi


List of 22 messages in thread
TopicAuthorDate
Hello World program problem.            01/01/70 00:00      
   More info            01/01/70 00:00      
      Scope ?            01/01/70 00:00      
   Suspect tutorial?            01/01/70 00:00      
      Definitely suspicious!            01/01/70 00:00      
         You are right            01/01/70 00:00      
            Craig, you are not the only one            01/01/70 00:00      
               Of course...            01/01/70 00:00      
                  been there, done that            01/01/70 00:00      
            For what it's worth (not much)            01/01/70 00:00      
      Absolutely !!!            01/01/70 00:00      
         ISIS ?            01/01/70 00:00      
            Isis manufacturer website            01/01/70 00:00      
   Here comes new(?) problem. ^_^;            01/01/70 00:00      
      Correction            01/01/70 00:00      
         Good to hear it really worked. ^_^            01/01/70 00:00      
   Be sure it solves your problem!            01/01/70 00:00      
      Re:            01/01/70 00:00      
   Its ISIS not the code            01/01/70 00:00      
      Status not supported            01/01/70 00:00      
         Polling Vs Delays            01/01/70 00:00      
            What kind of an excuse is that?!            01/01/70 00:00      

Back to Subject List