using lm016l display

Thread Starter

smokeygolf

Joined Oct 23, 2006
12
hi, my task was to get this display up and running and to put out one letter. i have written the code in assembler. i am having problems setting up the display. i want to put out the letter n. the code i wrote is below:

org 0000H
mov a, #38h
mov dptr, #8000h
movx @ dptr, a
acall delay
mov a, #0eh
movx @ dptr, a
acall delay
mov a, #01h
movx @ dptr, a
acall delay
mov dptr, #8010h
disp: mov a, #04eh
delay: mov r4, #255
here: djnz r4, here
ret
end


anyone got any pointers or see a fault?
 

hgmjr

Joined Jan 28, 2005
9,029
If this character-type LCD display is like many of those on the market, it will need to be initialized before you can begin outputing character data to the display.

Take a look at this website on LCD inferfacing. It should help you get started.

hgmjr
 

hgmjr

Joined Jan 28, 2005
9,029
Make certain that you are sending the display the row and character position location where you want the character to appear. These displays often have RAM space that maps to a position that is not in the viewable screen space. This is so that you can set up a message off screen and then scroll it across the screen with the appropriate commands.

hgmjr
 
Top