??? 10/31/06 13:40 Read: times |
#127174 - Re: scrolling can be done as... Responding to: ???'s previous message |
Veena Devi said:
Here, I’m calling lcd_clrscr(); for clearing the screen before updating, as the strings are of varying size. So,changing the complete screen can be viewed clearly between scroll keys.what could be done instead of lcd_clrscr(); As far as rememeber, these displays are quite fast and clearing and refilling the display should not be noticeable. If it looks really bad, you need to make sure your lcd_clrscr(); function and other LCD interfacing fucntions are interacting with the LCD at the highest speed it can handle. Before writing data or commands, are you checking the busy flag or using delays in your code ? Check the busy flag instead of using delays. Could you be using some redundant/unnecessary commands ? If everything is as fast as possible, and if it still does not apeear smooth enough, you'll have to use the "display start line" command. I have given it some more thought, and it can be useful in such cases with speed problems. For example, print menu entries 0-7, then when a scroll down is required increase the display start line by eight. This will wrap the display around by one one menu entry. Then clear the last line of the display and print the menu entry 8 there. Now the display must be displaying enries 2-8. |
Topic | Author | Date |
scrolling graphic LCD using matrix keypad | 01/01/70 00:00 | |
Use array of strings | 01/01/70 00:00 | |
Maybe try something different | 01/01/70 00:00 | |
scrolling function.... | 01/01/70 00:00 | |
Table | 01/01/70 00:00 | |
XDATA? | 01/01/70 00:00 | |
the reason is... | 01/01/70 00:00 | |
scrolling display using key... | 01/01/70 00:00 | |
How do you want to scroll? | 01/01/70 00:00 | |
Do as Michael said? | 01/01/70 00:00 | |
"display start line command" is not the way | 01/01/70 00:00 | |
Why not? | 01/01/70 00:00 | |
Re: Why not? | 01/01/70 00:00 | |
scrolling can be done as... | 01/01/70 00:00 | |
Re: scrolling can be done as... | 01/01/70 00:00 | |
I wonder | 01/01/70 00:00 | |
Scrolling | 01/01/70 00:00 | |
ah![]() | 01/01/70 00:00 |