UIFlow 2.0.2 firmware preview version
-
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
-
@zetabyte Hi there, please wait for the UIflow 2.0
-
会支持tab控件吗?
-
how is the status of this? is the update comming soon? is it stable yet?
-
uiflow-lvgl-2.0-xxx 会支持lvgl的所有控件(应该)
-
@mm-uiflow
Sorry, still under developing, UIFlow 2.0 it's big project, not only the firmware. -
-
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? -
@costas softI2c?
Use I2C not softI2c
-
Same results.
from machine import I2C, Pin
i2c = I2C(scl=Pin(22), sda=Pin(21), freq=100000)
i2c.scan()
[52, 53, 56, 81, 104] -
Hello @Costas
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.
Thanks
Felix -
THIS TOPIC WAS ABANDONED.
Please check this new topic and discuss。