Mcufriend_kbv is not working 3.5" Tft with mega2560 for timers fns

I am using Mega 2560 with McuFriend_kbv to display my timers in 3.5" Tft Shield Lcd display. My problem is when counter started to work my Tft is overlapping with previous digits. Can any one help me to get solve this problem.

I am using ILI9486 Tft Lcd and when i write " tft.fillScreen(BLUE) " in setup , The output in Tft is getting overlapped. But when i write in " tft.fillScreen(BLUE) " in loop, The output is showing the new incremented or decremented digit but my Lcd screen work as "blink"

Life is much easier if you just post your code. Preferably a minimal sketch that shows your problem.

We can read the code and run the program.
Probably better than reading English from a non-English speaker.

As a general rule, you use tft.setTextColor(TFT_WHITE, TFT_BLACK); to display text with a fresh background.

This only works for the default 7x5 font.
If you use FreeFonts you must draw a fresh background rectangle. You only draw the smallest rectangle that is necessary. Never use tft.fillScreen()

David.

Please read how to use the Forum properly. And how to paste code.

You ask questions. You have to read the answers.

tft.setCursor(2,3);tft.setTextSize(3);tft.setTextColor(BLUE, BLACK);
tft.setCursor(240,3);tft.setTextSize(3);tft.setTextColor(YELLOW, BLACK),

Note that your last line ends with a comma instead of a semi-colon. Perfectly legal C. But not what you intended.

@Cpyl Newbie,

Please don't delete your posts. You asked a question. You solved your problem.

Other readers might have the same problem and this topic could help them.

It is difficult for a non-English speaker to join an English Forum and learn how to use it.
I hope that the answers have been polite.

Google Translate works very well. But sometimes uses the wrong words. We do not want to offend anyone.

David.

Dear sir,
Sorry for the inconvenience caused, as I given all my details I need to delete it. Also I am very new to this forum I flashed all without knowing it correctly. I understood the mistake.
Cpyl

No problem.

Welcome to the Forum.

David.

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.