Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

LCD Display programming

Status
Not open for further replies.

luckyrei

Newbie level 3
Joined
Dec 7, 2009
Messages
4
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,308
Hello everybody..

I've just started to get used THRSim11 software (uses assembly language). For the purpose of learning, I've tried to make my own programming for LCD Display.I used I/O Box as the display. My programming can display the predetermined message. Unfortunately, I don't know how to scroll the message :cry:
From my understanding, all the predetermine message will be store to the $1040 (the memory location of LCD). How can I control and alter my programming so that the message displayed can be scrolled up/down or left/right?
Please help me..
 

Horizontal scrolling just requires
writing instructions to the display,
it's listed in the datasheet - but I
can't say I've ever had occasion to
do it?.
To do it vertically you need all the
strings in memory, and a pointer to
the string currently displayed on
the top line. To scroll down
increment the pointer to the nest
line, display it, and display the
following string on line 2 as well. To
scroll up, decrement the pointer,
and display the two lines.

Added after 3 minutes:

Horizontal scrolling just requires
writing instructions to the display,
it's listed in the datasheet - but I
can't say I've ever had occasion to
do it?.
To do it vertically you need all the
strings in memory, and a pointer to
the string currently displayed on
the top line. To scroll down
increment the pointer to the nest
line, display it, and display the
following string on line 2 as well. To
scroll up, decrement the pointer,
and display the two lines.
 

I still confuse..
can u write me an example of the programming?
so that I would understand clearly.. :D
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top