I want to show a value on a TFT screen. The following piece of code is inside the loop() section.
But as it is inside loop one would expect that the message blinks but its only shown once.
What could be wrong here??
if (useTFT) {
// print the message value
TFTscreen.text(messageTFT, 0, 100);
// wait for a moment
delay(500);
// erase the text you just wrote
TFTscreen.stroke(0, 0, 0);
TFTscreen.text(messageTFT, 0, 100);
}
What's wrong is that you have ignored the forum guide and posted a small code snippet. I suspect I can see the problem there, but I'm not going to risk embarrassment by revealing that in case the code you didn't post proves me wrong.