2.8" TFT 3-line SPI #1771
Plombir18
started this conversation in
Compatible displays and setup files
Replies: 1 comment 5 replies
-
The library does not support 3 line SPI displays. The DC (Data/Command Register Select) line is needed. The 3 line SPI displays require the DC signal to be sent as an extra bit in the serial data and the library does not have a mode for that. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi guys,
I would like to use the TFT_eSPI lib on my ESP32 with a 2.8" TFT display with a 3 line SPI and ST7789V chip. Anyway, I'm struggling with the setup and I'm not sure if TFT_eSPI supports the 3-line SPI interface.
The pins I defined in the User_Setup.h are the following uncommented defines:
#define ST7789_DRIVER // Full configuration option, define additional parameters below for this display
#define TFT_SDA_READ // This option is for ESP32 ONLY, tested with ST7789 and GC9A01 display only
#define TFT_RGB_ORDER TFT_RGB // Colour order Red-Green-Blue
#define TFT_WIDTH 240 // ST7789 240 x 240 and 240 x 320
#define TFT_HEIGHT 320 // ST7789 240 x 320
#define TFT_MOSI 27 // In some display driver board, it might be written as "SDA" and so on.
#define TFT_SCLK 26
#define TFT_CS 4 // Chip select control pin
//#define TFT_DC 27 // Data Command control pin
#define TFT_RST 25 // Reset pin (could connect to Arduino RESET pin)
The TFT_DC is still commented as I only have 3 lines. So the basic question now is, does the library support such types of tft displays?
Defined pins of the display:

Thanks in advance for any help :)
Beta Was this translation helpful? Give feedback.
All reactions