I followed a instruction from internet, tried to use an Arduino Pro Micro to drive the 2.4 TFT ILI9431 Display which do not has a CS pin and got a blank white screen after uploaded the code.
The connection pin as below :
VCC - 3.3V (I get supply from a USB_TTL)
GND - GND from USB_TTL too.
Sclk - 15 (My TFT display only has CLK wondering any difference between both of them)
Miso - 14
Mosi - 16
Cs - 10 (I ignored for this pin config)
Dc - 9
Res - 8
Here is the Coding Part :
/***************************************************
This is an example sketch for the Adafruit 2.2" SPI display.
This library works with the Adafruit 2.2" TFT Breakout w/SD card
----> 2.2 18-bit color TFT LCD display with microSD card breakout [EYESPI Connector] : ID 1480 : $24.95 : Adafruit Industries, Unique & fun DIY electronics and kits
Color definitions for TFT SPI 2.2" Display
ILI9340_BLACK 0x0000
ILI9340_BLUE 0x001F
ILI9340_RED 0xF800
ILI9340_GREEN 0x07E0
ILI9340_CYAN 0x07FF
ILI9340_MAGENTA 0xF81F
ILI9340_YELLOW 0xFFE0
ILI9340_WHITE 0xFFFF
Binary sketch size: 20,726 bytes (of a 28,672 byte maximum)
****************************************************/
#include "SPI.h"
#include "Adafruit_GFX.h"
#include "Adafruit_ILI9340.h"
// Leonardo LCD Display UNO pins
#define _sclk 15 // J2 pin 7 13
#define _miso 14 // pin 9 12
#define _mosi 16 // pin 6 11
#define _cs 10 // pin 3 10
#define _dc 9 // pin 5 9
#define _rst 8 // pin 4 8
// Using software SPI is really not suggested, its incredibly slow
//Adafruit_ILI9340 tft = Adafruit_ILI9340(_cs, _dc, _mosi, _sclk, _rst, _miso);
// Use hardware SPI
Adafruit_ILI9340 tft = Adafruit_ILI9340(_cs, _dc, _rst);
void setup() {
Serial.begin(9600);
Serial.println("Adafruit 2.2" SPI TFT Test!");
tft.begin();
Serial.println(F("Benchmark Time (microseconds)"));
Serial.print(F("Screen fill "));
Serial.println(testFillScreen());
delay(500);
Serial.print(F("Text "));
Serial.println(testText());
delay(3000);
Serial.print(F("Lines "));
Serial.println(testLines(ILI9340_CYAN));
delay(500);
Serial.print(F("Horiz/Vert Lines "));
Serial.println(testFastLines(ILI9340_RED, ILI9340_BLUE));
delay(500);
Serial.print(F("Rectangles (outline) "));
Serial.println(testRects(ILI9340_GREEN));
delay(500);
Serial.print(F("Rectangles (filled) "));
Serial.println(testFilledRects(ILI9340_YELLOW, ILI9340_MAGENTA));
delay(500);
Serial.print(F("Circles (filled) "));
Serial.println(testFilledCircles(10, ILI9340_MAGENTA));
Serial.print(F("Circles (outline) "));
Serial.println(testCircles(10, ILI9340_WHITE));
delay(500);
Serial.print(F("Triangles (outline) "));
Serial.println(testTriangles());
delay(500);
Serial.print(F("Triangles (filled) "));
Serial.println(testFilledTriangles());
delay(500);
Serial.print(F("Rounded rects (outline) "));
Serial.println(testRoundRects());
delay(500);
Serial.print(F("Rounded rects (filled) "));
Serial.println(testFilledRoundRects());
delay(500);
Serial.println(F("Done!"));
}
************************************* Loop() removed due to length restrictions **************************
void loop(void) {
}
Sorry i totally don't have any knowledge for this. Hope you can give some advise. 