🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    images or icons for UI flow with M5 Core2

    General
    2
    2
    3.2k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      jimbol
      last edited by

      Hi,
      I'm looking for a couple of images that are on the UIflow firmware, that I'd like to put in my own display on a core2 - I'd like to use the cloud and the wifi indicators, and change from red to green just like they do when you load the UIflow firmware. Can anyone help me find these? Thx!

      1 Reply Last reply Reply Quote 0
      • felmueF
        felmue
        last edited by felmue

        Hello @jimbol

        here is a list of all images in the img directory:

        >>> os.listdir('img')
        ['UiFlow_USB_320_240.img', 
        'UiFlow_bg_320_240.img', 
        'applist_bar_320_40.png', 
        'cloud_green.png', 
        'cloud_red.png',
        'loding.png',
        'loding_fail.png',
        'loding_success.png', 
        'm5stack.pbm', 
        'm5stack.png', 
        'menu_bg.png', 
        'setup_bar_320_40.png', 
        'start_logo_320_240_dot.png', 
        'start_logo_320_240_flow.png', 
        'start_logo_320_240_ui.png',
        'startup_bg_320_240.img', 
        'uiflow_logo16bitTB.bmp', 
        'usb.png',
        'wifi_config_ap_connect.png', 
        'wifi_config_bg_320_240.img', 
        'wifi_config_sta_connect.png',
        'wifi_config_sta_fail.png', 
        'wifi_connect_ui_bg_320_240.img',
        'wifi_green.png',
        'wifi_red.png']
        

        You can set it like this:

        image0.set_img_src("img/wifi_red.png")
        

        Thanks
        Felix

        GPIO translation table M5Stack / M5Core2
        Information about various M5Stack products.
        Code examples

        1 Reply Last reply Reply Quote 1
        • First post
          Last post