Wifi-connect layer still shown
-
Hello Guys,
pardon me if this is wrong section.I just got M5stack core2, and I have a problem that when in UIFlow I create a program to connect to wifi and afterwards show any data. Wi-fi connect "screen" is shown on background even if I do clear lcd and set-background
also I tried to create full screen label on layer 3 and it was OK.

Please do you have any idea what I am doing wrong?
-
could you share your program? the
m5ffile. or take a screenshot. -
Hello there, i have the same problem. When i use the "RUN" button on https://flow.m5stack.com/ then i have no problem, everything is working as expected. But when i download then the Wi-Fi Connect page is shown behind the text labels i use.
This is the only code i use at the moment:
from m5stack import *
from m5stack_ui import *
from uiflow import *
from m5mqtt import M5mqttscreen = M5Screen()
screen.clean_screen()
screen.set_screen_bg_color(0xFFFFFF)m5mqtt = M5mqtt('SchermWoonkamer', '192.168.1.100', 1883, '', '', 300)
label0 = M5Label('Text', x=7, y=7, color=0x000, font=FONT_MONT_14, parent=None)
def fun_domoticz_out_(topic_data):
global params
label0.set_text(str(topic_data))
pass
m5mqtt.subscribe(str('domoticz/out'), fun_domoticz_out_)m5mqtt.start()
label0.set_text('Opgestart')
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login