UIFlow 2.0.2 firmware preview version
Hi everyone, new firmware is coming, we support ESP32C3 now.
How to write firmware:
Please download the above firmwares, use esptool or Flash Download Tools to write the firmware at offset 0x1000.
esptool.py --chip esp32 --port /dev/ttyUSBx --baud 1500000 write_flash 0x1000 uiflow-b061698-esp32-4mb-20220304.bin #uiflow-b061698-esp32-spiram-4mb-20220304.bin
esptool.py --chip esp32c3 --port /dev/ttyUSBx --baud 1500000 write_flash 0x0 uiflow-b061698-esp32c3-4mb-20220304.bin # if you flash the firmware through the USB port, you need press the button A before you plug USB cable enter the download mode esptool.py --chip esp32c3 --port /dev/ttyUSBx --baud 1500000 write_flash 0x0 uiflow-b061698-esp32c3-usb-4mb-20220304.bin
Follow M5STACK on twitter for the latest news about UIFlow 2.0 new update.
Zetabyte last edited by
Thank you for the update. Look like you've upgraded to 1.18, that's nice, that should speedup some dict loops.
Is there any documentation to the m5 package? Or do you have a changelog or something? Or can yoi upload the sources to github, so that we at can look for ourself for the functions?
Zetabyte last edited by Zetabyte
Found a bug.
>>> import io Traceback (most recent call last): File "<stdin>", line 1, in <module> ValueError: incompatible .mpy file
Edit: It helped to delete the io.mpy file under libs/micropython
M5Stack_AG last edited by
@zetabyte Hi there, please wait for the UIflow 2.0
mory last edited by
mm-uiflow last edited by
how is the status of this? is the update comming soon? is it stable yet?
Sorry, still under developing, UIFlow 2.0 it's big project, not only the firmware.
felmue last edited by
anything the M5Stack community can help with?
Costas last edited by
Trying to get I2C to work on the new firmware. I have M5's SGP30 sensor. MicroPython is not detecting anything plugged in. Guidance?
from machine import SoftI2C, Pin
i2c = SoftI2C(sda=machine.Pin(21),scl=machine.Pin(22),freq=100000)
devices = i2c.scan()
devices = [52, 53, 56, 81, 104], the SGP30 should be on 58, right?
ajb2k3 last edited by
Use I2C not softI2c
Costas last edited by Costas
from machine import I2C, Pin
i2c = I2C(scl=Pin(22), sda=Pin(21), freq=100000)
[52, 53, 56, 81, 104]
felmue last edited by
from the scan result I suspect you are using an M5Core2, correct?
The M5Core2 has an internal (GPIO21/22) and an external (GPIO32/33) I2C bus.
Right now your code scans the internal I2C bus, but the SGP30 is connected to port A (external I2C bus), so you need to change your code to scan the external I2C bus.