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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
08/29/00 05:44
Read: times


 
#4765 - RE: LCD problem, Please help!
After send initialize control I begining to send #080h data to control line Lcd to write at the first line and 0C0h at the second line. Am I waiting too long ? I'm ussualy use the delay routine Djnz 3 x 255 times at 11,059 Mhz Crystal

dly: mov r1,3h
dly1: mov r2,0FFh
DJNZ r2,$
DJNZ r1,dly1
ret

The first time (after reset) they get at the position (line 1 & 2), but when the second writing command, after I do Clrscr (ctrl 01h) they not get in position

start:
lcall init_lcd

start1:
mov a,#1
lcall ctrloutlcd
lcall dly
mov a,#80h
lcall ctrloutlcd
lcall dly
mov dptr,#text1
lcall stroutlcd
mov a,#0C0h
lcall ctrloutlcd
lcall dly
mov dptr,#text2
lcall stroutlcd
lcall delay1S ;just delay to keep
;display 1 sec
sjmp start1


The first loop it's work fine, but the secon loop only the first line appears













List of 6 messages in thread
TopicAuthorDate
LCD problem, Please help!            01/01/70 00:00      
RE: LCD problem, Please help!            01/01/70 00:00      
RE: LCD problem, Please help!            01/01/70 00:00      
May be you want....            01/01/70 00:00      
RE: May be you want....            01/01/70 00:00      
RE: LCD problem, Please help!            01/01/70 00:00      

Back to Subject List