I tried it, and it works for drawing smooth line from variable 0 to 120 for example, but if the value decreasing from 120 to 0 then I'm not able to clean the line without clearing the whole display and it causes flickering.
Why I need that? I'm trying to make a voltmeter with bargraph.
Here are the code snipet:
Code:
gosub glcd_init
GLCD_CLR
do
for n=0 to 120 step 1
GLCDDHL 0,0,n,1
next n
for n=120 to 0 step -1
GLCD_CLR
GLCDDHL 0,0,n,1
next n
loop
It would be good to have variable option in all options like:
Code:
GLCDDHL var1,0,var2,0
GLCDDVL var1,0,var2,0
GLCD_CLR var1,0,var2,0
It's that possible?
Bookmarks