I have purchased a MI0283QT-9A TFT display (https://download.mikroe.com/documents/add-on-boards/other/display/tft-proto/tft-proto-manual-v200.pdf) which is driven by the ILI9341 display controller.
I've managed to find the following board specification: http://pub.ucpros.com/download/tft_320_240_mi0283qt_9a_v1_3_spec.pdf
First of all, the pins are named differently from all the examples I can find for connecting it to my ESP32 microcontroller. For example, the TFT specs describe:
33 SDO Serial Output Signal 34 SDI Serial Input Signal 35 RD Read execution control pin 36 WRX(D/CX) Write execution control pin ; Serial Register select s Signal 37 D/CX(SCL) Register select signal; Serial Interface Clock 38 CSX Chip Select Signal 39 TE Tearing effect out pin synchronize MPU to frame writng
But this Adafruit ILI9341 example (https://github.com/adafruit/Adafruit_ILI9341/blob/master/examples/graphicstest/graphicstest.ino) talks about CS, DC, MOSI, CLK, RST, and MISO.
I think these map as follows, can anyone confirm that?
ESP32 = TFT -------------- DC = RS CLK = WR, although maybe it should connect to DC??? CS = CSX MOSI = SDI RST = RST MISO = SDO
I'm really unsure about the first two!
Second, in the PDF it refers to note 1 on page 11:
So as far as I can tell, I need to set the voltage high/low on the four IM* pins, depending upon the interface I want to use. So the second question is which interface does the Adafruit ILI9341 library use?