Reduce Flicker on GaugeDisplay #3662
matthias-mw
started this conversation in
General
Replies: 2 comments 3 replies
-
What SPI clock speed are you using? |
Beta Was this translation helpful? Give feedback.
0 replies
-
The display is round with a 240x240 Matrix (https://www.buydisplay.com/download/ic/GC9A01A.pdf?srsltid=AfmBOooKGD9Hkx5SqQsw5lGierppnk7TG7JC6MQAynd-wueoJii9taet) Here is my user_setup.h
The Neddle size is:
|
Beta Was this translation helpful? Give feedback.
3 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.
-
Hi everybody,
I am using this Library with a GC9A01_DRIVER and an ESP32 and I want to build an nice looking gauge.
So the Strategy is the following:
This works fine, but it causes a small flicker, because I push always the full screen
Here are fragments of my code:
So for my Understanding the flicker comes from the background.pushSprite(0, 0), I can see that by increasing the delay.
I found the Example "Animated_Dial" which proposed the the usage of ReadRect() to update just the area of the Needle. This makes a lot of sense to me but unfortunately this function is not working with my GC9A01.
Is there any other strategy to reduce the flicker of the screen? Can I use ReadRect() with a Sprite?
Thanks for help, I am a bit lost here
Matthias
Beta Was this translation helpful? Give feedback.
All reactions