can't connect LCD IPS TFT MODULE 1.47" 172X320 OLED SPI ST7789 and ESP32 C3 #3779
Unanswered
Linssang
asked this question in
Q&A - General
Replies: 1 comment
-
Give it a try with this |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
i Have LCD IPS TFT MODULE 1.47" 172X320 OLED SPI ST7789 and ESP32 C3 Super mini
i try to show something on 1.47 screen
already stepup
my custom UserSetup
`#define USER_SETUP_ID 14703
#define ST7789_DRIVER
#define CGRAM_OFFSET
#define TFT_WIDTH 172
#define TFT_HEIGHT 320
#define TFT_MOSI 7
#define TFT_SCLK 2
#define TFT_CS 9
#define TFT_DC 10
#define TFT_RST 3 // <== pindah dari IO7 ke IO3
#define TFT_BL 5
#define TFT_BACKLIGHT_ON HIGH
#define LOAD_GLCD
#define LOAD_FONT2
#define LOAD_FONT4
#define LOAD_GFXFF
#define SMOOTH_FONT
#define SPI_FREQUENCY 27000000
#define SPI_READ_FREQUENCY 16000000
#define SPI_TOUCH_FREQUENCY 2500000
`
on my User_Setup_Select.h
#include <User_Setups/SetupDasaiTFT.h>
my ino
`#include <TFT_eSPI.h>
#include <SPI.h>
TFT_eSPI tft = TFT_eSPI();
void setup() {
Serial.begin(115200);
delay(1000);
Serial.println("Mulai inisialisasi...");
tft.init();
Serial.println("TFT init selesai.");
tft.setRotation(1);
tft.fillScreen(TFT_RED);
Serial.println("Warna merah ditampilkan.");
}
void loop() {
}`
my screen not show any thing
can someone help me?
Beta Was this translation helpful? Give feedback.
All reactions