[Solved] TFT ILI9225 issue

Hello,
I had it running see photo. Just a display to show to a friend and decide what height, thickness he wanted the numbers to appear. that is a static display, runs once, no change.
it was standing there on my desktop for ~4 hours.
Then, I thought, ok lets put the same statements one more time with smaller height/width. Copy, paste, change height and width, put a delay(2000) and let it run.

And the display becomes white. And it does not recover…not even if i go back to running version.

the basic code (without a drawit() function is
EDIT The full code is:

/* ILI9225 Driver */
/* MEGA */
/* https://github.com/Nkawu/TFT_22_ILI9225 */


// Include application, user and local libraries
#include "SPI.h"
#include "TFT_22_ILI9225.h"

#define TFT_RST 8
#define TFT_RS  9
#define TFT_CS  53  // SS
#define TFT_SDI 51  // MOSI
#define TFT_CLK 52  // SCK
#define TFT_LED 3   // nc if wired to +5V directly

boolean a[11] = {1, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1};
boolean b[11] = {1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1};
boolean c[11] = {1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1};
boolean d[11] = {1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0};
boolean e[11] = {1, 0, 1, 0, 0, 0, 1, 0, 1, 0, 1};
boolean f[11] = {1, 0, 0, 0, 1, 1, 1, 0, 1, 1, 1};
boolean g[11] = {0, 0, 1, 1, 1, 1, 1, 0, 1, 1, 1};
int ax1 = 0;
int ay1 = 0;
int bar = 3;
int num = 0;
//String Col[10]={"COLOR_WHITE", "COLOR_RED", "COLOR_BLUE", "COLOR_YELLOW", "COLOR_CYAN", "COLOR_YELLOWGREEN", "COLOR_ORANGE", "COLOR_NAVY", "COLOR_TURQUOISE", "COLOR_SKYBLUE"};


// Use hardware SPI (faster - on Uno: 13-SCK, 12-MISO, 11-MOSI)
TFT_22_ILI9225 tft = TFT_22_ILI9225(TFT_RST, TFT_RS, TFT_CS, TFT_LED);
// Use software SPI (slower)
//TFT_22_ILI9225 tft = TFT_22_ILI9225(TFT_RST, TFT_RS, TFT_CS, TFT_SDI, TFT_CLK, TFT_LED);

// Variables and constants
uint16_t x, y;
boolean flag = false;
unsigned int WHATCOLOR = 0;
int width = 28; //without bar
int height = 30;


// Setup
void setup() {
  tft.begin();
  Serial.begin(9600);
  tft.setOrientation(2);
  tft.setFont(Terminal6x8);
  tft.drawText(10, 10, "ILI9225");
  Serial.print("1");

}

void Drawit(void) {


  int x1;
  int y1;
  int x2;
  int y2;

  int gap = 10;

  tft.fillRectangle(ax1, ay1, ax1 + width, ay1 + 2 * height, COLOR_BLACK);

  x1 = ax1;     y1 = ay1; x2 = x1 + width;     y2 = y1 + bar;
  if (a[num] == 1) {
    tft.fillRectangle(x1, y1, x2, y2, WHATCOLOR);
  }

  x1 = ax1 + width - bar ;    y1 = ay1;     x2 = x1 + bar;     y2 = y1 + height; //vertical
  if (b[num] == 1) {
    tft.fillRectangle(x1, y1, x2, y2, WHATCOLOR);
  }

  x1 = ax1 + width - bar;     y1 = ay1 + height - bar;     x2 = x1 + bar;     y2 = y1 + height + bar;
  if (c[num] == 1) {
    tft.fillRectangle(x1, y1, x2, y2, WHATCOLOR);
  }

  x1 = ax1;     y1 = ay1 + 2 * height - bar;     x2 = x1 + width;     y2 = y1 +  bar;
  if (d[num] == 1) {
    tft.fillRectangle(x1, y1, x2, y2, WHATCOLOR);
  }

  x1 = ax1;     y1 = ay1 + height;     x2 = x1 + bar;     y2 = y1 + height ;
  if (e[num] == 1) {
    tft.fillRectangle(x1, y1, x2, y2, WHATCOLOR);
  }

  x1 = ax1;     y1 = ay1 ;     x2 = x1 + bar;     y2 = y1 + height ;
  if (f[num] == 1) {
    tft.fillRectangle(x1, y1, x2, y2, WHATCOLOR);
  }

  x1 = ax1;     y1 = ay1 + height - bar;     x2 = x1 + width;     y2 = y1 + bar;
  if (g[num] == 1) {
    tft.fillRectangle(x1, y1, x2, y2, WHATCOLOR);
  }
  delay(50);

  ax1 += (width + gap);

}

// Loop
void loop() {

  // width = 28; //without bar
  //  height = 30;
  WHATCOLOR = tft.setColor(255, 0, 0); //r,g,b ?? YES
  tft.clear();

  tft.fillCircle(40, 40, 10, WHATCOLOR);

  ax1 = 85;
  ay1 = 10;
  bar = 2;
  num = 3;
  Drawit();

  ax1 = 125;
  ay1 = 10;
  bar = 3;
  num = 10;

  Drawit();


  ax1 = 10;
  ay1 = 140;
  bar = 5;

  for (num = 2; num < 4; num++)   Drawit();
  bar = 8;

  for (num = 4; num < 6; num++)   Drawit();

  // delay(2000);
  /*
    width = 20; //without bar
    height = 25;

    tft.clear();
    tft.fillCircle(40, 40, 10, WHATCOLOR);
    ax1 = 85;
    ay1 = 10;
    bar = 2;
    num = 3;
    Drawit();

    ax1 = 125;
    ay1 = 10;
    bar = 3;
    num = 10;

    Drawit();


    ax1 = 10;
    ay1 = 140;
    bar = 5;

    for (num = 2; num < 4; num++)   Drawit();
    bar = 8;

    for (num = 4; num < 6; num++)   Drawit();


    // delay(2000);
  */
  while (true);

}

I changed the mega and its working.
I changed back and its working!!!

if you cannot beat them, join them...
bye.