-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Preventing black screen while refreshing text #20
Comments
What is a frame buffer? If you want to partially rewrite the text on the screen, write the same text in the same color as the background and it will disappear.
|
Kind of. My goal is to have:
But what is possible is:
Thanks for the example, but unfortunately it wont solve the problem. The frame inbetween the text draw calls has to be a black rectangle (or black text) to clear the previous text. So there is always one frame before new text can appear. |
There is lcdDrawMultiPixels().
The generator for text bitmaps is GetFontx(). |
The Line 772 in 42705cd
|
This is done if _font_fill is valid: Line 751 in 42705cd
|
Hi,
i measure values every second an print them onto the screen. To clear old values i first fill the screen black and then draw the text. That results in a visible "refresh" effect, everything is black and the text slowly appears again line per line.
Is it possible to draw everything in a frame buffer and then paint the screen at once? So that there isn't a completly black screen for one frame. Thanks and cool library!
The text was updated successfully, but these errors were encountered: