fix(examples) import 'u'-prefixed versions of modules (#2365)

import usys and utime instead of sys and time, as the latter are not available on all platforms
This commit is contained in:
Amir Gonnen
2021-07-11 02:24:16 +03:00
committed by GitHub
parent 0ae15bd470
commit 1b6a39ca61
9 changed files with 10 additions and 13 deletions

View File

@@ -1,5 +1,5 @@
#!/opt/bin/lv_micropython -i
import time
import utime as time
import lvgl as lv
import display_driver

View File

@@ -1,5 +1,5 @@
#!/opt/bin/lv_micropython -i
import sys
import usys as sys
import lvgl as lv
import display_driver
from imagetools import get_png_info, open_png

View File

@@ -1,5 +1,5 @@
#!/opt/bin/lv_micropython -i
import sys
import usys as sys
import lvgl as lv
import display_driver
from imagetools import get_png_info, open_png

View File

@@ -1,5 +1,5 @@
#!/opt/bin/lv_micropython -i
import sys
import usys as sys
import lvgl as lv
import display_driver
from imagetools import get_png_info, open_png

View File

@@ -1,5 +1,5 @@
#!//opt/bin/lv_micropython -i
import time
import utime as time
import lvgl as lv
import display_driver

View File

@@ -1,5 +1,5 @@
#!//opt/bin/lv_micropython -i
import time
import utime as time
import lvgl as lv
import display_driver

View File

@@ -1,5 +1,5 @@
#!//opt/bin/lv_micropython -i
import time
import utime as time
import lvgl as lv
import display_driver
from imagetools import get_png_info, open_png

View File

@@ -1,8 +1,8 @@
#!/opt/bin/lv_micropython -i
import time
import utime as time
import lvgl as lv
import display_driver
import sys
import usys as sys
class Lv_Roller_3():