MatejTech last edited by MatejTech
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)
ajb2k3 last edited by
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.
MatejTech last edited by
Ohh ok thank you