Hi Radon240 Maxim and cotthemh Herwig
my display works fine.
The problem may be in the parameter settings in elecrow-esp32-s3-tft-50.ini
In the original libraries “LovyanGFX Library” and “Ardunio_GFX Library” Bus Settings, when I searched for the background of connecting the display and the touchpad, there are different values.
I would try to compile openHASP with this other values.
As:
...
; Panel Settings ILI6122/LI5960
-D TFT_WIDTH=800 ;800 /* width */,
-D TFT_HEIGHT=480 ;480 /* height */,
-D TFT_HSYNC_POLARITY=0 ;0 /* hsync_polarity */,
-D TFT_HSYNC_FRONT_PORCH=8 ;8 /* hsync_front_porch */,
-D TFT_HSYNC_PULSE_WIDTH=1 ;???Pio_4 /* hsync_pulse_width */ ???Ard_1 /* hsync_pulse_width */,
-D TFT_HSYNC_BACK_PORCH=32 ;???Pio_43 /* hsync_back_porch */,???Ard_32 /* hsync_back_porch */,
-D TFT_VSYNC_POLARITY=0 ;0 /* vsync_polarity */,
-D TFT_VSYNC_FRONT_PORCH=8 ;8 /* vsync_front_porch */,
-D TFT_VSYNC_PULSE_WIDTH=1 ;???Pio_4 /* vsync_pulse_width */ ???Ard_1 /* vsync_pulse_width */,
-D TFT_VSYNC_BACK_PORCH=8 ;Pio_12 /* vsync_back_porch */ ???Ard_ 8 /* vsync_back_porch */,
-D TFT_PCLK_ACTIVE_NEG=1 ;1 /* pclk_active_neg */,
-D TFT_PREFER_SPEED=16000000 ;16000000 /* prefer_speed */
-D TFT_AUTO_FLUSH=1 ;true /* auto_flush */
...
???Pio_x
value is from PlatformIO Elecrow demo projects.
???Ard_x
value is from Arduino Elecrow demo projects.
I did not deal with the values in more detail, because my display worked well the first time.
Here is a link to a modified download of the zipped openHASP project