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_bmp_1.py (266B)

      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 img = lv.img(lv.scr_act())
     10 # The File system is attached to letter 'S'
     11 
     12 img.set_src("S:example_32bit.bmp")
     13 img.center()