Skip to content

Slider implemented using LVGL 9.1 on an SPI display controlled by the TFT_eSPI library and EEZ framework library (EEZ Studio GUI editor).

Notifications You must be signed in to change notification settings

zalexzperez/LVGL_slider

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Release v0.1 has the display created by the LVGL library using the lv_tft_espi_create() function. However, quickly changing objects exhibit image flickering / tearing, due to a relatively poor display performance for the task, even with the highest possible SPI frequency set (80MHz) for this hardware (ESP32-S3):

flickering_slider

After using two buffers and DMA (v0.2 release): slider_DMA

In other projects where the TFT_eSPI library is utilized directly, the programmer can use something called Sprites, which are graphics buffers that minimize flicker and tearing effects. Such a feature is not present in the LVGL -> TFT_espi integration.

After checking LVGL documentation on how to speed up the UI, this example project will attempt to implement the same slider using two buffers and a flushing function with DMA, to get a smooth motion for quickly moving objects, like the slider in this program.

About

Slider implemented using LVGL 9.1 on an SPI display controlled by the TFT_eSPI library and EEZ framework library (EEZ Studio GUI editor).

Resources

Stars

Watchers

Forks

Packages

No packages published