Answered step by step
Verified Expert Solution
Link Copied!

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 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
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions