I bought a TFT module 2.2 "ILI9341 and I'm using this library:
And that pin configuration
miso - D12
led - 3,3V
sck - D13
mosi - D11
dc - D6
reset - D4
cs - D5
gnd - GND
vcc - 3,3V
But the TFT only get the blank screen, and it works, what do I do?
I'm using this simple example, just to test
/* Demo of draw circle's APP
drawCircle(int poX, int poY, int r,INT16U color);
fillCircle(int poX, int poY, int r,INT16U color);
*/
#include <stdint.h>
#include <TFTv2.h>
#include <SPI.h>
void setup()
{
TFT_BL_ON; //turn on the background light
Tft.TFTinit(); //init TFT library
Tft.drawCircle(100, 100, 30,YELLOW); //center: (100, 100), r = 30 ,color : YELLOW
Tft.drawCircle(100, 200, 40,CYAN); // center: (100, 200), r = 10 ,color : CYAN
Tft.fillCircle(200, 100, 30,RED); //center: (200, 100), r = 30 ,color : RED
Tft.fillCircle(200, 200, 30,BLUE); //center: (200, 200), r = 30 ,color : BLUE
}
void loop()
{
}
/*********************************************************************************************************
END FILE
*********************************************************************************************************/
Thank you