1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-01-21 06:53:01 +08:00
lvgl/examples/libs/rlottie/lv_example_rlottie_1.py
Uli Raich cd197a8e49
feat(examples) add micropython versions of the external library examples (#2762)
Co-authored-by: embeddedt <42941056+embeddedt@users.noreply.github.com>
2021-11-24 21:18:15 -05:00

12 lines
283 B
Python
Executable File

#!/opt/bin/lv_micropython -i
import lvgl as lv
import display_driver
#
# Load an lottie animation from flash
#
from lv_example_rlottie_approve import lv_example_rlottie_approve
lottie = lv.rlottie_create_from_raw(lv.scr_act(), 100, 100, lv_example_rlottie_approve)
lottie.center()