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 TFT_RGB_ORDER TFT_RGB // Colour order Red-Green-Blue
// #define TFT_RGB_ORDER TFT_BGR // Colour order Blue-Green-Red
#ifdef ESP32
#define TFT_MISO 19
#define TFT_MOSI 23
#define TFT_SCLK 18
#define TFT_CS 15// Chip select control pin
#define TFT_DC 2// Data Command control pin
#define TFT_RST 4// Reset pin (could connect to RST pin)
//#define TFT_RST -1// Set TFT_RST to -1 if display RESET is connected to ESP32 board #else
// Display GND to NodeMCU pin GND (ov)
// Display VCC to NodeMCU 5V or 3.3V
// Display SCK to NodeMCU pin D5
// Display SDI/MOSI to NodeMCU pin D7
// Display BLK to NodeMCU pin VIN
#define TFT_CS PIN_D8|// Chip select control pin D8
#define TFT_DC PIN_D3// Data Command control pin
#define TFT_RST PIN_D4// Reset pin (could connect to NodeMCU RST, see next line)
#endif
How do I edit this library part for tft7735 pin connections to esp32 which are as follows:
Vcc -3.3 v
LED-3.3 v
GND -GND
CS-D15
A0-D2
SDA- D23
Sck-D18
 // Try ONE option at a time to find the correct

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!