ST7789V Driver #3011
Replies: 2 comments 1 reply
-
Hi to all, I'm trying to get the TF 240x320 display to work with a ST7789V using a DOIT ESP32 DEVKIT V1 38 PIN with SPI, but the display behaves badly, the images loaded from the SD, don't have the correct colors, and some tests with other examples work with different colors or even appear in negative. My configuration in the user setup is as follows: I tried using infinite permutations but without success. Ultimately, the colors are all different even if I use #define TFT_INVERSION_OFF or ON or don't use it. |
Beta Was this translation helpful? Give feedback.
-
Try: to reverse red and blue. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Discussed in #2070
Originally posted by shamirtahir50 October 10, 2022
Hi,
I am using TFT024B045 which contains ST7789V, I am programmoing it using ESP32.
I am defining this in User_Setup.h
#define ESP32_PARALLEL
#define ST7789_DRIVER
// ESP32 pins used for the parallel interface TFT
#define TFT_CS 27 // Chip select control pin
#define TFT_DC 14 // Data Command control pin - must use a pin in the range 0-31
#define TFT_RST 26 // Reset pin
#define TFT_WR 12 // Write strobe control pin - must use a pin in the range 0-31
#define TFT_RD 13
#define TFT_D0 16 // Must use pins in the range 0-31 for the data bus
#define TFT_D1 4 // so a single register write sets/clears all bits
#define TFT_D2 23
#define TFT_D3 22
#define TFT_D4 21
#define TFT_D5 19
#define TFT_D6 18
#define TFT_D7 17
Is this the right way?
I need to change the pin configuration or not?
Do you have any documentation about that?
Beta Was this translation helpful? Give feedback.
All reactions