i need to know if it is possible to run IOT-Solution examples on ESP-wrover-kit V3?
As a general rule it will not be possible to assume that each and every example will run unmodified on an ESP-WROVER-KIT V3. It will depend on whether the required hardware is present and connected to the ESP-WROVER-KIT V3 the way the software wants it to be connected.
i like to run HMI-->lvgl_example with TFT lcd that is already installed on ESP-wrover-kit V3
With a few modifications it's possible to get the lvgl_example to run on an ESP-WROVER-KIT V3. Here's what I did:
- Run make menuconfig and in "LVGL Settings" turn "LittlevGL Touch Screen Enable" off as the ILI9341 display on a ESP-WROVER-KIT V3 isn't a touch screen.
- Run make menuconfig and in "LVGL Settings >> Config Driver" set the screen driver to "Choose Screen Driver (ILI9341)"
- Run make menuconfig and in "LVGL Settings >> Config Driver >> ILI9341 Screen Pin Configuration" set all the GPIO numbers to the correct values.
A few software changes are also needed.
Because the ILI9341 display on a ESP-WROVER-KIT V3 isn't a touch screen the following lines in app_main.cpp were commented out:
this one:
Code: Select all
lv_indev_drv_t indevdrv = lvgl_indev_init(); /*Initialize your indev*/
and this one:
Finally,
this line in ILI9341_adapter.cpp was modified from:
to:
The modification to ILI9341_adapter.cpp is a terrible hack but unfortunately there isn't a configuration option available in menuconfig for bckl_active_level. An alternative to this hack would be to implement your own variant of
lvgl_lcd_display_init (called something else) and then call your variant rather than
calling lvgl_lcd_display_init in app_main.cpp.