I tired to used tft.reset(); but after that I am getting white screen and nothing happens.
what is tft.reset(); doing ?
how do I just clear the screen before drawing another one ?
I tired to used tft.reset(); but after that I am getting white screen and nothing happens.
what is tft.reset(); doing ?
how do I just clear the screen before drawing another one ?
tft.fillScreen(TFT_BLACK); //or whatever colour you want.
tft.reset() performs a hardware reset. You must re-initialise a display with tft.begin(ID) after a hardware reset.
In fact tft.begin() calls tft.reset() as the first job to do. So the punter never needs to use reset(). It is historic for compatibility with Adafruit libraries.
David.