images or icons for UI flow with M5 Core2



  • 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!



  • 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