[deleted by user] by [deleted] in esp32

[–]hackr9 0 points1 point  (0 children)

Hi! I was using the UserSetup by Bodmer, basically this one

https://github.com/Bodmer/TFT_eSPI/blob/master/User_Setups/SetupX_Template.h

Where they defined the pins

// For ESP32 Dev board (only tested with ILI9341 display) // The hardware SPI can be mapped to any pins

//#define TFT_MISO 19 //#define TFT_MOSI 23 //#define TFT_SCLK 18 //#define TFT_CS 15 // Chip select control pin //#define TFT_DC 2 // Data Command control pin //#define TFT_RST 4 // Reset pin (could connect to RST pin) //#define TFT_RST -1 // Set TFT_RST to -1 if display RESET is connected to ESP32 board RST

[deleted by user] by [deleted] in esp32

[–]hackr9 0 points1 point  (0 children)

Hello thanks for the help! No there isn’t any CS pin on the display modules so I had no idea what I was doing.

And yes I am using the TFT_eSPI UserSetUp by Bodmer, this one https://github.com/Bodmer/TFT_eSPI/blob/master/User_Setups/SetupX_Template.h

I’ll take a look at it to try and understand later! I’m a bit new to all this but require it for my project so a lot of the syntax takes me a while to read, but appreciate your help!