I use the scope widget to show a current and voltage measured.
My scope is shown on a uLCD-32PTU with 210 pixels width.
My problem is to clear (reset) the scope in a fast way before each new measurement.
The refreshincrement is set to 7 which gives a smooth presentation of the measured data.
I tried to clear the scope this way:
for (i=0;i<210;i++) {
genieWriteObj(GENIE_OBJ_SCOPE,0,0);
}
But this is very slow.
Is there a better way?
Thanks.
Michael
My scope is shown on a uLCD-32PTU with 210 pixels width.
My problem is to clear (reset) the scope in a fast way before each new measurement.
The refreshincrement is set to 7 which gives a smooth presentation of the measured data.
I tried to clear the scope this way:
for (i=0;i<210;i++) {
genieWriteObj(GENIE_OBJ_SCOPE,0,0);
}
But this is very slow.
Is there a better way?
Thanks.
Michael
Comment