Question: / / Try ONE option at a time to find the correct colour order for your display / / #define TFT _ RGB _ ORDER
Try ONE option at a time to find the correct colour order for your display
#define TFTRGBORDER TFTRGB Colour order RedGreenBlue
#define TFTRGBORDER TFTBGR Colour order BlueGreenRed
#ifdef ESP
#define TFTMISO
#define TFTMOSI
#define TFTSCLK
#define TFTCS Chip select control pin
#define TFTDC Data Command control pin
#define TFTRST Reset pin could connect to RST pin
#define TFTRST Set TFTRST to if display RESET is connected to ESP board #else
Display GND to NodeMCU pin GND ov
Display VCC to NodeMCU or
Display SCK to NodeMCU pin D
Display SDIMOSI to NodeMCU pin D
Display BLK to NodeMCU pin VIN
#define TFTCS PIND Chip select control pin D
#define TFTDC PIND Data Command control pin
#define TFTRST PIND Reset pin could connect to NodeMCU RST see next line
#endif
How do I edit this library part for tft pin connections to esp which are as follows:
Vcc v
LED v
GND GND
CSD
AD
SDA D
SckD
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
