Image+ problem



  • Hello, I have a M5StickC Plus and I'm programming it in UIFlow. The problem is that the M5StickC Plus freezes when trying to retrieve the image. The image format is JPG.
    Here is the code:

    from m5stack import *
    from m5ui import *
    from uiflow import *
    from libs.image_plus import *
    from machine import WDT
    
    
    setScreenColor(0x111111)
    
    
    
    
    
    
    imageplus0 = M5ImagePlus(0, 0, url='*PRIVATE IMAGE SENDING IP*/mjpeg/1', timer=True, interval=500)
    
    @timerSch.event('timer1')
    def ttimer1():
      global wdt
      wdt.feed()
      pass
    
    
    timerSch.run('timer1', 1000, 0x00)
    wdt = WDT(timeout=2000)
    


  • It's not freezing, It's just very slow to retrieve the image. I have test (and written a guide on getting the image from the forum) and my experience it that it is very slow to retrieve images, sometimes taking up to several minutes.
    Also you haven't specified a wifi network to connect to.



  • Ohh ok thank you



  • @matejtech said in Image+ problem:

    I have a M5StickC Plus and I'm programming it in UIFlow. The problem is that the M5StickC Plus freezes when trying to retrieve the image. The image format is JPG.
    Here is the code:
    from m5stack import *
    from m5ui import *
    from uiflow import *
    from libs.image_plus import *
    from machine import WDT

    setScreenColor(0x111111)

    imageplus0 = M5ImagePlus(0, 0, url='PRIVATE IMAGE SENDING IP/mjpeg/1', timer=True, interval=500)

    @timerSch.event('timer1')
    def ttimer1():
    global wdt
    wdt.feed()
    pass

    timerSch.run('timer1', 1000, 0x00)
    wdt = WDT(timeout=2000)

    Experiencing freezing issues on M5StickC Plus when retrieving a JPG image in UIFlow. Code includes WDT implementation. Seeking assistance for troubleshooting and resolution.



  • Images need to be JPG/BMP and of a specific formatting.