79290818

Date: 2024-12-18 10:55:47
Score: 0.5
Natty:
Report link

The problem's been solved.

I just replaced

TFT_eSPI_ext tft = TFT_eSPI_ext();

By

TFT_eSPI tftExt; // Create the base TFT_eSPI instance
TFT_eSPI_ext tft(&tftExt); // Pass a pointer to the base instance

Also declarations of Screens after directives and before the setup function were added and everything works now.

Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Sina M