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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
07/28/04 23:52
Read: times


 
#75061 - RE: LCD Problem.
Responding to: ???'s previous message
Hello Arif,

Michael Neary is correct. I had this problem and it
drove me nuts.
Try the below program. Notice the instruction MOV
A,#0C2h ; 2nd line will fix the second half of the
display. Read about this in the tutor section.

Regards,

Charles Bannister

;;*********************************************************************
;; Hello World. Greeting upon power up.
;;*********************************************************************
 
HW1:
	MOV   A,#'H'
 	LCALL WRITE_TEXT
 	MOV   A,#'E'
 	LCALL WRITE_TEXT
 	MOV   A,#'L'
 	LCALL WRITE_TEXT
 	MOV   A,#'L'
 	LCALL WRITE_TEXT
 	MOV   A,#'O'
 	LCALL WRITE_TEXT
 	MOV   A,#0C2h			; 2nd line 
 	LCALL SendINS                   ; send command
 	LCALL WAIT_LCD
 	MOV   A,#'W'
 	LCALL WRITE_TEXT
 	MOV   A,#'O'
 	LCALL WRITE_TEXT
 	MOV   A,#'R'
 	LCALL WRITE_TEXT
 	MOV   A,#'L'
 	LCALL WRITE_TEXT
 	MOV   A,#'D'
 	LCALL WRITE_TEXT 
 	RET



List of 10 messages in thread
TopicAuthorDate
LCD Problem.            01/01/70 00:00      
   RE: LCD Problem.            01/01/70 00:00      
      RE: LCD Problem.            01/01/70 00:00      
   RE: LCD Problem.            01/01/70 00:00      
      RE: LCD Problem.            01/01/70 00:00      
         LCD User`s Manual.            01/01/70 00:00      
            RE: LCD User`s Manual.            01/01/70 00:00      
   RE: LCD Problem.            01/01/70 00:00      
      Thanks Mr. Charles            01/01/70 00:00      
         Yes now my LCD module is working.            01/01/70 00:00      

Back to Subject List