FillArc question/info/help #1600
Unanswered
Kotik82
asked this question in
Q&A - General
Replies: 1 comment
-
You need to store the last displayed value and redraw the segment in the range old value to new value. If the new value is less than the old value then blank the segment in between. If new value is bigger then colour the segment. The ring meter uses a simple method of drawing the whole ring for every update but this does slow down updates. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I recently installed the library and started experimenting with it in order to adapt it to my project.
My goal is to create a digital thermometer based on ESP8266, a GC9A01 tound ips display 240 x 240, the library itself is working fine, but i am just too stupid to figure out how to properly code what i got in my head.
TEMP DELAY is set to 800ms so in reality the tft is being updated once every 800ms, it all works great with 1 exception.... when the temp value increases the arc is filled up correctly, but when the temp value is decreasing the arc remains in its previous state. I guess it is cause the previous drawn pixel still remain on the screen.
Till now i got this code down:
So my question is how should i fix that issue?
Thanx
Beta Was this translation helpful? Give feedback.
All reactions