Animation Image

Report on GitHub

Three-frame animated image

Cycle three frames on a centered animated image widget.

An lv_animimg is centered on the active screen and receives an array of three lv_image_dsc_t descriptors through lv_animimg_set_src. lv_animimg_set_duration sets one full cycle to 1000 ms, lv_animimg_set_repeat_count uses LV_ANIM_REPEAT_INFINITE, and lv_animimg_start kicks the animation off.

How is this guide?

Last updated on

On this page