Output with sprites or directly to the TFT?? #3265
Unanswered
Blaubart
asked this question in
Q&A - General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm looking for the best way to display data on a TFT using an ESP32 and TFT_eSPI. You can see what this should look like here: https://freevario.de/wp-content/uploads/2024/03/Vario5.jpg
https://freevario.de/wp-content/uploads/2020/06/Vario3.jpg
The colored bow has to adjust very quickly and the arrows have to rotate quickly in the background because they are supposed to show the relative wind of a glider as it circles.
Currently all outputs are pushed in a sprite, and these are pushed into a sprite "Background". The complete background is pushed onto the TFT at the end. This gives me a good display without flickering. Unfortunately, the speed is too slow and the arc builds up too slowly. It was therefore recommended that I set up the image in such a way that I first make the screen black and then push all output directly to the TFT. The speed is hardly better and due to the constant changing of tft.fillScreen(BLACK); and output of text or bow and arrow, the image flickers extremely. Which way makes sense and can still be optimized appropriately? Thanks for your tips!
Beta Was this translation helpful? Give feedback.
All reactions