Hello
I have drawn a sinewave on a GLCD taking around 250 samples.
I am in need of some ideas to make this as animated (free running) sinewave display.
The general idea is that the sinewave should appear as moving with each new 250 samples.
I have thought about this in following way..
1)Take 250 samples and draw a frame on the LCD
2)Refresh the lcd or erase the current samples.
3)Take another 250 fresh samples
4)Draw the sinewave at a pixels offset from previous plot
5)The pixels which are blank (due to this offset) get the values which do not fit on screen and draw at t==0
Am i right??
Please provide valuable feedback
Thanks
I have drawn a sinewave on a GLCD taking around 250 samples.
I am in need of some ideas to make this as animated (free running) sinewave display.
The general idea is that the sinewave should appear as moving with each new 250 samples.
I have thought about this in following way..
1)Take 250 samples and draw a frame on the LCD
2)Refresh the lcd or erase the current samples.
3)Take another 250 fresh samples
4)Draw the sinewave at a pixels offset from previous plot
5)The pixels which are blank (due to this offset) get the values which do not fit on screen and draw at t==0
Am i right??
Please provide valuable feedback
Thanks