Answered step by step
Verified Expert Solution
Question
1 Approved Answer
/ / 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
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
Step: 1
Get Instant Access with AI-Powered Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started