Hello Guys, I hope you are all well.
I have a 3.5 tft_lcd, which when I want the blue backlight, is flashing, or better to say an incorrect scan.
The test program is very simple, someone can help me solve this problem.
Thank you very much in Advance
#include <Adafruit_GFX.h>
#include <Adafruit_TFTLCD.h>
#define LCD_CS A3
#define LCD_CD A2
#define LCD_WR A1
#define LCD_RD A0
#define LCD_RESET A4
#define BLACK 0x0000
#define BLUE 0x001F
#define RED 0xF800
#define GREEN 0x07E0
#define CYAN 0x07FF
#define MAGENTA 0xF81F
#define YELLOW 0xFFE0
#define WHITE 0xFFFF
Adafruit_TFTLCD tft(LCD_CS, LCD_CD, LCD_WR, LCD_RD, LCD_RESET);
void setup() // Start of setup
{
//tft.reset();
tft.begin(0x9341);
tft.fillScreen(BLUE); // Fill screen with black
tft.setRotation(3); // Set orientation of the display. Values are from 0 to 3. If not declared, orientation would be 0,
}
void loop() // Start of loop
{
}