I'm using this display in portrait mode. I need to scroll, but it's not working. The scroll only works once, and then no matter how many times I call it, it doesn't scroll anymore. Below is the code:
I put a "here" to show that it's scrolling there.
void println(char* s)
{
outsln(s);
if (tft.getPosY() > 300 && !tft.getRotation() && vdp_mode == TFT_MODE_TEXT)
{
tft.setCursor(10,350);
tft.print("Here...");
delay(1000);
tft.setCursor(10,350);
tft.print(" ");
tft.vertScroll(0, 300, 15);
tft.fillRect(0, 285, 320, 15, TFT_BLACK); // Clear last line
tft.setCursor(0, 299); // Put cursor in the last line
}
}
As I said, it does it the first time, and then it doesn't scroll anymore.
Thanks for your help.