TFT Refresh Problem

Code tips and tricks for beginners
martineztel
Posts: 15
Joined: Wed Jun 28, 2023 7:20 am
Been thanked: 1 time

TFT Refresh Problem

Post by martineztel »

How to refresh a TFT graphic screen so that the screen does not blink. Application of Tft.fill 0 causes blinking. Without this function, the values ​​overlap. Value displayed via TFT. print
User avatar
cicciocb
Site Admin
Posts: 2060
Joined: Mon Feb 03, 2020 1:15 pm
Location: Toulouse
Has thanked: 439 times
Been thanked: 1360 times
Contact:

Re: TFT Refresh Problem

Post by cicciocb »

you must set a background color
with TFT.TEXT.COLOR fore_color, back_color

example

Code: [Local Link Removed for Guests]

tft.fill black
TFT.TEXT.COLOR red, black
for z=1 to 100000
  tft.text.pos 0,0
  tft.print z
next z

martineztel
Posts: 15
Joined: Wed Jun 28, 2023 7:20 am
Been thanked: 1 time

Re: TFT Refresh Problem

Post by martineztel »

Unfortunately, this method does not help
Image
martineztel
Posts: 15
Joined: Wed Jun 28, 2023 7:20 am
Been thanked: 1 time

Re: TFT Refresh Problem

Post by martineztel »

Image
martineztel
Posts: 15
Joined: Wed Jun 28, 2023 7:20 am
Been thanked: 1 time

Re: TFT Refresh Problem

Post by martineztel »

Image
martineztel
Posts: 15
Joined: Wed Jun 28, 2023 7:20 am
Been thanked: 1 time

Re: TFT Refresh Problem

Post by martineztel »

Sorry, I can't add a Photo!!!?
rmsta
Posts: 36
Joined: Sat Feb 20, 2021 9:36 am
Location: Sindelfingen, Germany
Has thanked: 141 times
Been thanked: 10 times

Re: TFT Refresh Problem

Post by rmsta »

[Local Link Removed for Guests] wrote: [Local Link Removed for Guests]Sat Apr 20, 2024 1:53 pm Sorry, I can't add a Photo!!!?
Just add the URL in the text, nothing else. No quotes or something like that.
You can test with Preview.
martineztel
Posts: 15
Joined: Wed Jun 28, 2023 7:20 am
Been thanked: 1 time

Re: TFT Refresh Problem

Post by martineztel »

rmsta
Posts: 36
Joined: Sat Feb 20, 2021 9:36 am
Location: Sindelfingen, Germany
Has thanked: 141 times
Been thanked: 10 times

Re: TFT Refresh Problem

Post by rmsta »

[Local Link Removed for Guests] wrote: [Local Link Removed for Guests]Sat Apr 20, 2024 3:44 pm
This is the right way, but you must allow access for everyone for the specific picture.
User avatar
Electroguard
Posts: 860
Joined: Mon Feb 08, 2021 6:22 pm
Has thanked: 276 times
Been thanked: 323 times

Re: TFT Refresh Problem

Post by Electroguard »

If you select 'Attachments' tab underneath the Reply text window, then click the Add files button at the bottom, then select your pics from their folder.

Hit Enter in the text window a few times to create some 'white space'', then click 'Place inline' to place the required pic(s) at the appropriate line.

Click Preview to see how they will look... you can easily adjust the spacing between pics after they have been inserted.


[
pics1.jpg
pics2.jpg

attachment=1]pics3.jpg[/attachment]

pics4.jpg
You do not have the required permissions to view the files attached to this post.
Post Reply