1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-01-28 07:03:00 +08:00
lvgl/examples/header.py

15 lines
340 B
Python
Raw Normal View History

#!/opt/bin/lv_micropython -i
import lvgl as lv
try:
import sys
except ImportError:
import usys as sys
# JS requires a special import
if sys.platform == 'javascript':
import imp
sys.path.append('https://raw.githubusercontent.com/lvgl/lv_binding_micropython/4c04dba836a5affcf86cef107b538e45278117ae/lib')
import display_driver