===== ili9341 LCD to ESP32 wiring ===== Writeup and wiring from Kevin Dorff, library author and github repository:\\ URL: https://github.com/kdorff\\ The SPI pins, MOSI, MISO, and SCK, are shared between the display and the touchscreen (and SD card reader). TOUCH_IRQ is optional. If you don't wire it, make sure you comment out touchscreen.interrupt_pin.\\ The SD card pins are not connected.\\ These may not be optimum wiring, but I've tested them.\\ This is the ILI9341 connector pinout:\\ ^Pin ^ Function ^ |1 |Vcc | |2 |Gnd | |3 |CS | |4 |Reset | |5 |Dc | |6 |MOSI (LCD) | |7 |SCK (LCD) | |8 |LED | |9 |MISO (LCD) | |10 |T_Clk | |11 |T_CS | |12 |T_DIN | |13 |T_DO | |14 |T_IRQ | LCD to ESP32 (30 pin or d1 mini) wiring:\\ ^ Display ^ ESP32 ^ | SCK/CLK | 18 | | MISO/DO/SDO | 19| | MOSI/DIN/SDI | 23| | DISP_CS | 33| | DISP_LED | 17| | TOUCH_CS | 32| | DISP_DC | 5| | DISP_RESET | 16| | TOUCH_IRQ | 21| | VCC | 3V3| | GND | GND| {{::2023-11-23_091223.jpg|}}\\ {{::2023-11-23_092415.jpg|}}\\