lvgl_esp32_drivers
lvgl_esp32_drivers copied to clipboard
[develop] ST7789 software reset doesn't work
Software reset doesn't seem to work when using the develop branch. To reproduce it you should enable software reset in the menuconfig and disable using hardware reset in the pin configuration menu,
Seems like that particular display driver doesn't work well with software resets https://github.com/Bodmer/TFT_eSPI/issues/322#issuecomment-481034553
According to datasheet SWRST only resets registers where some settings are, but Frame memory with previous picture will remain. I've added "fillScreen(0x0000)" in init() function just before SWRST call to clear screen also during reset. This helps to not show previous picture after SWRST is done.