Hi! I've been banging my head trying to get the TFT SPI 2.8" display with touch to work with an Arduino Mega 2560 Pro.
I got the display from https://shopee.ph/TFT-LCD-240x320-2.8-Module-ILI9341-i.20469516.827034804
I have the wiring as such:
TFT_DC 43
TFT_CS 53
TFT_MOSI 51
TFT_CLK 52
TFT_RST 49
TFT_MISO 50
TFT_TCS 41
I'm using a TXB0104 bi-directional level shifter to bring 5v down to 3.3v for the SPI, MOSI, MISO, and CLK pins only since there are only 4 pins available. (I have placed an order for an 8-Channel level shifter though) The rest of the pins, DC, CS, and Touch CS are shifted using resistors. It might be possible that the display is not working properly because the CS, DC pins only tap 3v instead of 3.3v. I don't have the specific resistors to make the voltage 3.3v.
I attempted to use the Adafruit_ILI93141 library but I haven't been able to get it to work for a week now. I'd really appreciate any finger-pointing in the right direction.