General

DFRobot_GDL with Cheap Yellow Display Board (ESP32-2432S028R)?

userHead kdorohov 2025-08-04 15:43:16 264 Views0 Replies

Is it possible to use DFDRobot_GDL library with Cheap Yellow Display Board  (ESP32-2432S028R)?
This is a ESP32 combined with TFT display with touch screen
 

I tried loading a simple sketch based on basicTest but display stays black.

#include "DFRobot_GDL.h"
#define TFT_DC  2
#define TFT_CS  15
#define TFT_RST -1
#define TFT_BL  21
DFRobot_ILI9341_240x320_HW_SPI  screen(/*dc=*/TFT_DC,/*cs=*/TFT_CS,/*rst=*/TFT_RST);
void setup() {
 Serial.begin(115200);
 screen.begin();
 screen.fillScreen(COLOR_RGB565_WHITE);
 screen.println("TEST"); 
}
void loop(){
}


I took pins definition from the board description:
https://randomnerdtutorials.com/esp32-cheap-yellow-display-cyd-pinout-esp32-2432s028r/#display-pins