Open Sinamajidi opened 3 months ago
I'm having having the same problems as you (except for the touch thing). Setup file should be configured correctly, everything wired, etc. Blank white screen. ST7789 Red Tab.
The only way I have been able to make the display work is with adafruit library BUT only on software SPI mode, I have not been able to use Hardware SPI at all!
What does your serial monitor output? Is it crash/rebooting?
No crases no anything. all fine on the serial monitor..........
I'm a complete idiot... I was using 10K resistors on the 3.3V pins now it works!
Reason of why they were there is because I tested with arduino first, and it has 5V for the pins...
I still don't understand why it worked using SoftwareSPI or whatever... maybe the lower clock was able to get trough the resistance?
I'm having having the same problems as you (except for the touch thing). Setup file should be configured correctly, everything wired, etc. Blank white screen. ST7789 Red Tab.
The only way I have been able to make the display work is with adafruit library BUT only on software SPI mode, I have not been able to use Hardware SPI at all!
@Splarkszter
My TFT display doesn't have MISO, MOSI pins for using the Adafruit Library or any other SPI libraries. Instead, it has RW, RD, CS,... pins which are compatible with this library. However, now, as I commented first, it doesn't do anything!
Same behaviour here - I am using an ESP32_dev with ILI9341
ets Jun 8 2016 00:22:57
rst:0x8 (TG1WDT_SYS_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) configsip: 0, SPIWP:0xee clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 mode:DIO, clock div:2 load:0x3fff0030,len:1184 load:0x40078000,len:13232 load:0x40080400,len:3028 entry 0x400805e4
Even after downgrading from 2.5.43 to 2.5.34 the problem persists
I have an ESP32 Devkit C board and a 2.4" TFT Shield with a red board color. The shield has pins on both sides: one side has parallel data and SD pins, and the other side has CS, RST, WR, RD, F_CS, and RS pins. I connected the TFT Display to the ESP32 and uncommented the section about it in User_Setup.h. However, I encountered a problem when I tried to build and upload the Smooth_Graphics_Demo example to the ESP32. The compiler terminated and returned the error that TOUCH_CS is not defined, even though the TFT shield doesn't have any pin with this name. To resolve this, I uncommented one of the definitions about this pin in User_Setup.h and set the TOUCH_CH to the CS of the TFT LCD, and the error disappeared. However, after uploading the program to my ESP32, the shield didn't display or sense anything, and the serial monitor didn't show any problems. I'm unsure of what to do next. I've provided all the necessary information. Please help me with this.
Serial Monitor:
Main Program (Modified Smooth_Graphics_Demo Example):
User_Setup.h file: