Here we go, easy work-around for the faulty lcd.image():
from m5stack import *
buffer = open("/sd/images/test.jpg").read()
lcd.image_buff(lcd.CENTER, lcd.CENTER, buffer)
Here we go, easy work-around for the faulty lcd.image():
from m5stack import *
buffer = open("/sd/images/test.jpg").read()
lcd.image_buff(lcd.CENTER, lcd.CENTER, buffer)
Adding upip to the firmware image would make developer's live much easier.
How to manually install the urllib.parse library.
Create folder /upip and add files upip.py and upip_utarfile.py manually.
Install the library with upip:
%cd /flash/upip
import upip
upip.install("micropython-urllib.parse", "/flash/lib")
To get it working, remove re.py and ffilib.py from lib. Hat-tip to Andreas.
Finally you can encode URL parameters for GET requests:
%cd /flash/lib
import urllib.parse
urllib.parse.urlencode({"a":1, "b": 2})
=> 'a=1&b=2'
I want to build a driving robot with Atomic Motion Base and 2x 360 servos.

I started with Atom Matrix. After motion base and ToF4M have been added in UIFlow2, it always tells me that I2C is not correctly initialized. I tried chat, it didn't help. Maybe it's an error with the UIFlow defaults for the combination?
Next was AtomS3 Lite, there UIFlow2 just continued to work after adding motion base and ToF4M.
During boot of Atom Matrix and AtomS3 Lite on USB, I often saw an error about "Wrong Password" in the log. It seems the WiFi is connecting, but it's not waiting long enough before trying cloud login. But that's just a guess. Sometimes it works, so a lot of reboots to get to stable state.
Next was the servo setup, two 360 servos connected to the motion base. It took some time to figure it out. Angle at 90 means stop, pulse at 1500 means stop. I would have expected that the same value means the same speed, but with pulse 1300 and 1700 it was always not going straight. I would have expected that servos can handle this better.
Finally the ToF4M was added to the code, to turn before getting to close to an object. Sometimes it works, sometimes it doesn't, I am not sure what the issue is, maybe the sensor needs more stable power than the 18350 battery can supply.

Overall it was a unpleasent experience. Atom challanges, servos not going reliably straight, ToF not always working, it was a bit disappointing. Happy to get any kind of constructive feedback, how to improve the situation.
In the forum I read that there is some advanced touch/swipe functionality available for the Arduino language.
Will there be high level touch/swipe functions for UIFlow?
I would like to do some photo swiping/scrolling on my Core2, like on a smart phone.
Cheers
Mike