Open SinglWolf opened 3 years ago
I have the same issue, but adding your #ifndef doesn't fix the white screen for me.
A white screen may also be due to the fact that the frequency of the SPI bus is too high. I already have 2 displays that did not start at 40 MHz. At 26 MHz, they work fine.
This have resolved my problem, thanks! And it is obviously an issue to be corrected in the repository.
Error in file
lvgl_esp32_drivers\lvgl_tft\ili9488.h
:Should be:
If there is no hard reset, no software reset is applied to the display. The result is a white screen. Therefore, I propose to do this for all displays, of course (see below.). I also suggest removing the extra line for setting the display orientation from the initialization array, because the orientation is set in any case at the end of the display initialization code (in
XXXXX_set_orientation(CONFIG_LV_DISPLAY_ORIENTATION)
). For eg,lvgl_esp32_drivers\lvgl_tft\ili9488.c
: