Take a look at the ESP32 Cheap Yellow Display (CYD) Pinout - ESP32-2432S028R. Which pins are used to control the display, touchscreen, microSD card and available GPIOs| Random Nerd Tutorials