🤖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

    Scheduled Pinned Locked Moved General
    2 Posts 2 Posters 4.0k Views
    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 Offline
      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 Offline
        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

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • First post
          Last post