| ??? 07/10/02 11:15 Read: times |
#25593 - Scrolling LCD in vertical direction |
Hello all,
I have some data stored in the external memory. The data is as below (e.g.): Q1: What is your name?'n' Q2: Which city do you stay?'n' Q3: What do you do?'n' The data is to be displayed on the LCD with vertical scrolling facility. Also every time the 'n' character is encountered, the remaining characters of that line of the LCD are filled with spaces. On first display, the LCD will show "Q1: What is your name?" (22 characters) and the remaining 10 chars will be filled with spaces. In the next display (i.e. after the down button press), the LCD will show "Q2: Which city do you stay?" (Now 27 characters). This will continue till the end of data and every display will have different number of characters. I have got scrolling it in the DOWN direction properly. But I am not getting it in the UP direction. For a single UP key press it is Ok, because I can keep track of the last display characters and then decrement the DPTR by those many locations. But I don't know the number of characters displayed in the previous to that screen. So where the DPTR should jump back? Is the problem clear to you? I hope so.. I am using assembly language only. Thanks and regards to all........ p.s.: Please do not increase the number of posts just saying "USE THE SEARCH BUTTON". I have already done that. So pleeeeease.... |
| Topic | Author | Date |
| Scrolling LCD in vertical direction | 01/01/70 00:00 | |
| RE: Scrolling LCD in vertical direction | 01/01/70 00:00 | |
| RE: Scrolling LCD in vertical direction | 01/01/70 00:00 | |
| RE: Scrolling LCD in vertical direction | 01/01/70 00:00 | |
| RE: Scrolling LCD in vertical direction | 01/01/70 00:00 | |
| RE: Scrolling LCD in vertical direction | 01/01/70 00:00 | |
| RE: Scrolling LCD in vertical direction | 01/01/70 00:00 | |
RE: Scrolling LCD in vertical direction | 01/01/70 00:00 |



