It's possible to change fps with run after?

my stm32 it work fine with lvgl v8.2.
but i want to dynamic change fps.
like screen with two lv_button.
one button is 10fps, another is 29fps
if i play video, it can change fps to 29.
if it’s idle, it can change fps to 10.
it’s lvgl v8.2 possible can do it?

You can try to change refresh timer interval via calling _lv_disp_get_refr_timer() and then lv_timer_set_period() to new refresh inteval.

Thank you.
It working.

1 Like