programming in assembler for an LCD

Jan 26, 2006 7 Replies

hello everyone,



i have to attach an LCD to my microprocessor aduc841 and i need the code in assembler to display information on the LCD. does anybody know where i can get this code from???



Why do you need it in assembler ? Can't afford a compiler ?

Different LCDs require different drive methods anyway so there's no universal code. You'll have to work it out for yourself.

Graham

An LCD usually means a few lines of ASM code from the datasheet.Not that the RESET command usually takes its time.

Rene

Ing.Buero R.Tschaggelar - http://www.ibrtses.com & commercial newsgroups - http://www.talkto.net

Israeli poster for a change.

Graham

http://www.google.com/search?hl=en&q=8051

schreef in bericht news: snipped-for-privacy@g14g2000cwa.googlegroups.com...

FAIK the micro you mention is a 8052 derivative. But micros usually do not contain an LCD. So if you're using some kind of development board, its manual should tell how to write data to the LCD.

If not, you can find the micros datasheet on the net which will include the instructionset. Guess you already have an assembler. But... You will also need to have a datasheet of the LCD containing at least a good description of its interface (both hard- and software.) Besides so need to know what connections between and micro and LCD exist. (Apparently they are connected already.) When you have collected this things, it's time for some hard labour to write the code you need.

petrus bitbyter

Check out the code examples at

formatting link

Ian

Call LCD_Display_Routine{Display_String}

LCD_Display_Routine: Do Stuff Return

HTH

Slurp

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required