acid-drop

- Hacking the planet from a LilyGo T-Deck using custom firmware
git clone git://git.acid.vegas/acid-drop.git
Log | Files | Refs | Archive | README | LICENSE

lv_example_sjpg_1.py (262B)

      1 #!/opt/bin/lv_micropython -i
      2 import lvgl as lv
      3 import display_driver
      4 import fs_driver
      5 
      6 fs_drv = lv.fs_drv_t()
      7 fs_driver.fs_register(fs_drv, 'S')
      8 
      9 wp = lv.img(lv.scr_act())
     10 # The File system is attached to letter 'S'
     11 
     12 wp.set_src("S:small_image.sjpg")
     13 wp.center()