rberek
Joined: 10 Jan 2005 Posts: 207 Location: Ottawa, Canada
|
|
Posted: Thu Oct 05, 2006 3:07 pm |
|
|
It would be useful for you to go back to your original threads on this topic, as many of the answers have been given to you already.
Specfically, if you look at this post:
http://www.ccsinfo.com/forum/viewtopic.php?t=27092&highlight=
you will see that circular buffers were recommended as a solution to what is the same problem you had 6 months ago. You don't physically move data, you move the pointers to the data.
Physically moving/shifting this amount of data is impractical. You can write data into your input array, then your display data can be obtained by pointing at the elements of the input data you are interested in displaying. After that data has been displayed, you may then overwrite it with new input data, or whatever. You just need a pointer to tell you where to place newly-arriving display data, and a pointer to tell you the next element or elements to display. These pointers move as data arrives or is displayed.
Before you ask, no , I have not used these display drivers to display and shift data, and no, I do not have sample code. |
|