tft.fillScreen()

hello
i am using tft 2.4 screen to display data from gps
if i just send data to tft.print() it does not clear the previous print
so i use tft.fillScreen but it is slow and disturbs the eye
any hint ?
thanks

Please post a link to your actual screen.
Please quote which TFT library you are using e.g. as reported from Library Manager.

Just guessing that you are using an "Adafruit_GFX" style of library:

Use tft.setTextColor(foreground_color, background_color); to print text in rubout mode.

If you are using the new FreeFonts, the GFX library always use transparent mode.
So you must rubout the previous text with a tft.fillRect(backgound_color);

Calculate the minimum size of rectangle for "rubbing out". The GFX docs explain how to do this.

David.

Thanks David i'll try
Use tft.setTextColor(foreground_color, background_color)
and see

Thanks David it worked very well
fidamon