Kl0ibi / esp32_hackingtool

MIT License
197 stars 25 forks source link

How to run stuff on cheap yellow screen? #33

Open Trhug25 opened 2 months ago

Trhug25 commented 2 months ago

Hello. I have a cheap gold screen (cyd) and wonder how to install this tool on a cheap gold screen (cyd). I tried installing it but it doesn't show up, it just flashes a green light.If you have a way please tell me. Thank you ESP32-Cheap-Yellow-Display-CYD-Board-ESP32-2432S028R-front cyd_feat

InfoDigitalEL commented 2 months ago

you need to define the display pins in the code, I also wanted to know how to do this using esp-idf menuconfig but I didn't find the options to make changes to the code, and unfortunately the code owner doesn't respond to comments.

Trhug25 commented 2 months ago

You can use gpt chat to edit. I'm trying that too but can't determine the code for the display pin yet. If you identify it, please share it with me. Thank

InfoDigitalEL commented 2 months ago

I tried help with chatgpt but without success. What version of esp-idf are you using?

Kl0ibi commented 2 months ago

hi, i think you are looking for line 1784 - 1792 in my provided sdkconfig.h file.

CONFIG_MIPI_DISPLAY_SPI_HOST=0x01
CONFIG_MIPI_DISPLAY_PIN_MISO=-1
CONFIG_MIPI_DISPLAY_PIN_MOSI=19
CONFIG_MIPI_DISPLAY_PIN_CLK=18
CONFIG_MIPI_DISPLAY_PIN_CS=5
CONFIG_MIPI_DISPLAY_PIN_DC=16
CONFIG_MIPI_DISPLAY_PIN_RST=23
CONFIG_MIPI_DISPLAY_PIN_BL=4
CONFIG_MIPI_DISPLAY_PWM_BL=-1

note: you can search in the menuconfig with vim controls --> just type / and what you are searching for, example /DISPLAY_PIN and you should find it.

btw I am using idf version 4.3.2

hope I could help

TechsavvyCNC commented 3 weeks ago

Did anybody figure out how to use this screen and the exact pinout?