I can't show date and time in display LCD 2,4'touchscreen with DS3231!

Hi,
I'm don't speak English very well, so sorry for mistakes.
I'm working with display LCD touchscreen like this https://www.electrofun.pt/display-lcd-touchscreen-shield-arduino docked in the arduino mega and I would like to show the date and time with DS3231 like this https://www.electrofun.pt/modulo-rtc-ds3231-relogio.

I connect DS3231:
-SDA: pin 20
-SCL: pin 21
and the respective power pins

I created the code and hadn't error, but when I sent for the arduino, the touchscreen went blank and didn't show what I had programmed, and just show up when put in comment, both the variables as the programming to show these variables.

Can you help me solve this problem?

Below is my programming to take a look.

--------------programming----------
#include <Wire.h>
#include <DS3231.h>
#include <Adafruit_GFX.h>
#include <MCUFRIEND_kbv.h>
#include "TouchScreen.h"

DS3231 rtc(SDA,SCL);
int hora = rtc.getTime().hour;
int minuto = rtc.getTime().min;
float temperatura = rtc.getTemp();
int dia = rtc.getTime().date;
int mes = rtc.getTime().mon;
int ano = rtc.getTime().year;

#define YP A1
#define XM A2
#define YM 7
#define XP 6

#define TS_MINX 112
#define TS_MINY 103
#define TS_MAXX 972
#define TS_MAXY 961

#define MINPRESSURE 10
#define MAXPRESSURE 1000
TouchScreen ts = TouchScreen(XP, YP, XM, YM, 300);

#define PRETO 0x0000
#define AZUL 0x001F
#define VERMELHO 0xF800
#define VERDE 0x07E0
#define CIANO 0x07FF
#define AMARELO 0xFFE0
#define BRANCO 0xFFFF
#define CINZENTO 0x7BEF
#define LARANJA 0xFD20
#define CINZENTO_C 0xC618
MCUFRIEND_kbv tft;

void setup()
{
Serial.begin(9600);
uint16_t ID = tft.readID();
tft.begin(ID);
rtc.begin();
Wire.begin();
}
void loop() {
tft.setRotation(1); //Rotação do display para horizontal
tft.fillScreen(PRETO);//fundo a preto
tft.setCursor(5,15);
tft.setTextColor(BRANCO);
tft.setTextSize(1);
tft.print("HORA: ");
tft.setCursor(12,15);
tft.setTextColor(BRANCO);
tft.setTextSize(1);
tft.print(hora);
tft.print('.');
tft.print(minuto);
tft.setCursor(170,20);
tft.setTextSize(1);
tft.setTextColor(BRANCO);
tft.print("TEMP.: ");
tft.setTextSize(1);
tft.setTextColor(BRANCO);
tft.print(temperatura);
tft.setCursor(291,16);
tft.print('o');
tft.setCursor(300,20);
tft.print("C");
tft.drawLine(0,60,320,60,LARANJA);
tft.setCursor(5,50);
tft.setTextColor(BRANCO);
tft.setTextSize(1);
tft.print("DATA: ");
tft.setCursor(20,55);
tft.setTextSize(2);
tft.setTextColor(BRANCO);
tft.print(dia);
tft.print('.');
tft.print(mes);
tft.print('.');
tft.print(ano);
}