kgavionics
Full Member level 3
- Joined
- Jun 12, 2012
- Messages
- 167
- Helped
- 7
- Reputation
- 14
- Reaction score
- 11
- Trophy points
- 1,298
- Location
- Alberta.Canada
- Activity points
- 2,482
hi guys
first this my code, wich read table from the ROM and sending it to the LCD that scrolls the strings in loop
here the result
the LCD displays the string from ( for my display based.....)
If i decrease the string length to 84 chars the LCD displays all the string.
I tried the null string detect to exit the loop also it doesn't work either.
Is there any limitation on pic18f???
first this my code, wich read table from the ROM and sending it to the LCD that scrolls the strings in loop
Code:
;================================================= ===========
MOVLW 0X50
MOVWF TBLPTRL
MOVLW 0X02
MOVWF TBLPTRH
MOVLW 0X5f
MOVWF RCOUNT
B6 TBLRD*
MOVFF TABLAT,WREG
CALL dataw
INCF TBLPTRL,F
DECF RCOUNT,F
BNZ B6
PNP movlw 0x18
call instw
CALL delay1s
BRA PNP
ORG 0X250
MYDATA DB "this is a test for my dispaly based on hitachi 44780 driven by PIC 18F452 thanks for watching"
END
;================================================= ===========
end ; END OF PROGRAM
;================================================= ===========
the LCD displays the string from ( for my display based.....)
If i decrease the string length to 84 chars the LCD displays all the string.
I tried the null string detect to exit the loop also it doesn't work either.
Is there any limitation on pic18f???
Last edited: