Fast updatres to a graph
Posted: Sat May 03, 2008 3:19 am
I am new to this forum and am planning to use the GLK240128 intelligent display. My task is to draw a point to point line graph for X(max)200 and Y(max)100. I can do that easily using the 'draw line' command.
The graph has to be updated with least flicker every one sec or so. What is the best strategy for updating it? Is the only way to undraw the old segment by the following method:
1. Change the color to background
2. Draw it again
3. Change the colour to foreground
4. Draw new segment
Or is there a better way? I am using a dSPIC33 processor and C complier.
The graph has to be updated with least flicker every one sec or so. What is the best strategy for updating it? Is the only way to undraw the old segment by the following method:
1. Change the color to background
2. Draw it again
3. Change the colour to foreground
4. Draw new segment
Or is there a better way? I am using a dSPIC33 processor and C complier.