🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    UiFlow 2.0 discuss(how-to, bug, feature request or sometings)

    Scheduled Pinned Locked Moved UiFlow 2.0
    193 Posts 78 Posters 531.0k Views 13 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ? Offline
      A Former User
      last edited by

      Hello, could you add more RTC blocks to Uiflow2? Like the ones in Uiflow1? I'm a beginner and I wanted to make a simple clock app for the cardputer but for now seems impossible for me without learning to code. Also it would be nice to have all the apps I built in the App.list section of Uiflow2 on my cardputer. Thanks! Screenshot 2024-11-17 194153.png

      cryptospokC 1 Reply Last reply Reply Quote 1
      • cryptospokC Offline
        cryptospok
        last edited by

        I'm using UIFlow2 on Microsoft Edge and when I try to create a variable with the name of an object that already exists, I get the conflict information and even if I correct it, when I exit the variable creation window, UIFlow2 crashes and I have to reload the page to continue.

        1 Reply Last reply Reply Quote 0
        • cryptospokC Offline
          cryptospok @Guest
          last edited by

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • R Offline
            riztronic
            last edited by

            missing magnetometer scratch code for atom s3r , please add

            kurikoK teastainT 2 Replies Last reply Reply Quote 0
            • kurikoK Offline
              kuriko @riztronic
              last edited by

              @riztronic
              did you mean a built-in magnetometer?

              Good morning, and welcome to the Black Mesa Transit System.

              1 Reply Last reply Reply Quote 0
              • teastainT Offline
                teastain @riztronic
                last edited by

                @riztronic The device includes a 5V to 3.3V power circuit, a built-in three-axis BMM150 geomagnetic sensor,

                Cheers, Terry!

                100% M5Stack addict with several drawers full of product!

                1 Reply Last reply Reply Quote 0
                • C Offline
                  Calilov330000
                  last edited by

                  Does anyone know how to connect my m5stack core 2 ?
                  Im using the raspberry pi 5. Is the m5stackbcore 2 plug and play with raspberry pi or the websites? Ive neen trying to connect this thing for 2 weeks. This is crazy it takes this much trouble

                  kurikoK 1 Reply Last reply Reply Quote 0
                  • kurikoK Offline
                    kuriko @Calilov330000
                    last edited by

                    @Calilov330000
                    why don't you try a simple laptop/desktop?

                    Good morning, and welcome to the Black Mesa Transit System.

                    1 Reply Last reply Reply Quote 0
                    • D Offline
                      Davidalan5757
                      last edited by

                      Could you unlock from UIFlow 2 the capability to code in micropython…

                      1 Reply Last reply Reply Quote 3
                      • J Offline
                        jpilarski
                        last edited by

                        I am looking for all of the lcd drawing tools that were available in uiflow1.0. I was making some interactive graphics and I was drawing lines or rectangles in a loop and doing that in uiflow2.0 requires you to first drag out 100 lines in the ui builder which just is too slow. Here are the bloacks I am looking for in uiflow 2.0. How can I do something similar in uiflow 2.0 Screenshot 2025-02-18 235307.png

                        1 Reply Last reply Reply Quote 0
                        • C Offline
                          charlesRD
                          last edited by

                          Hello,

                          I have some difficulties to burn UIFLOW on new devices

                          For ATom lite it seems to work but i get ERROR The device type is unknown! on device manager.
                          I dont know if it can acces to the wifi. i tried several time to unregister and burn it again, reinstall M5 burner, but it doesn't help.

                          It can't connect to my M5 stamp C3, maybe there is a way to make a factory reset on them?

                          The previous Atom and Stick set up in february still worked well, and appears with green dot on device manager. when i try to burn it now i get the "unknown type" error and red dot.

                          it looks like i am not able anymore to have the same atom running when i burn them today.

                          Did i forgot something ?

                          Thank you very much,

                          Charles

                          S 1 Reply Last reply Reply Quote 0
                          • Y Offline
                            yaleman
                            last edited by

                            This post is deleted!
                            1 Reply Last reply Reply Quote 0
                            • S Offline
                              sgu @charlesRD
                              last edited by

                              @charlesRD
                              i have similar issues

                              the Tab5 does not burn UIFlow at all!

                              1 Reply Last reply Reply Quote 0
                              • S Offline
                                sgu
                                last edited by

                                When Will LVGL be integrated in UIFlow 2 ? I don't see a progress there for many months. The new devices such as Tab5 are useless without LVGL. Programming with UiFlow 2.0 and printing simple lines and squares look very old school.

                                1 Reply Last reply Reply Quote 0
                                • H Offline
                                  hacxx
                                  last edited by

                                  Thanks for sharing the UiFlow 2.0 resources! I appreciate having a dedicated space for bugs, how-tos, and feature requests. Does anyone have tips on avoiding common firmware burning errors, especially with account binding? Also curious if there’s a timeline for the full API docs release. Looking forward to seeing how this evolves!

                                  1 Reply Last reply Reply Quote 0
                                  • T Offline
                                    thecuri
                                    last edited by

                                    I recently los all my private cloud projects....is there a way to get them back from your servers?

                                    1 Reply Last reply Reply Quote 0
                                    • Z Offline
                                      zhumingqi
                                      last edited by

                                      I used UIFlow2 to devleop a simple UI demo, and I monitor the free memory with gc.mem_free(). I found the free memory reduced continiously though I called gc.collect() every loop. Finally, the UI can not update again, but the loop still was running.

                                      Z 1 Reply Last reply Reply Quote 0
                                      • Z Offline
                                        zhumingqi @zhumingqi
                                        last edited by

                                        I tested more UI design. And I found that the memory leak only happens when I use image component and switch images frequently. Is that a UIFlow2.3.3 bug or my design is incorrect?

                                        1 Reply Last reply Reply Quote 0
                                        • Z Offline
                                          zhumingqi
                                          last edited by

                                          Today, I updated the UIFlow to V2.3.4, and burned V2.3.4 firmware as well. Then I tested that image component again with M5GFX in UIFlow 2.3.4. But the issue still exists. After I switch two JPG pics with one image component for sometime, the memory will reduced continiously. Finally, the system will break out. And I try to use gc.collect() after every drawImage(), but it's not useful.
                                          Here is my design and python code:
                                          import os, sys, io, gc
                                          import M5
                                          from M5 import *

                                          ImageSwitchFlag = None

                                          def GcCollectAndPrint():
                                          global ImageSwitchFlag
                                          gc.collect()
                                          print(gc.mem_free())
                                          pass

                                          def btnA_wasClicked_event(state):
                                          global ImageSwitchFlag
                                          if ImageSwitchFlag == 0:
                                          M5.Lcd.drawImage("/flash/res/img/RotaryBGBacklight.jpg", 0, 0)
                                          GcCollectAndPrint()
                                          ImageSwitchFlag = 1
                                          elif ImageSwitchFlag == 1:
                                          M5.Lcd.drawImage("/flash/res/img/RotaryBGBT.jpg", 0, 0)
                                          GcCollectAndPrint()
                                          ImageSwitchFlag = 0

                                          def setup():
                                          global ImageSwitchFlag

                                          M5.begin()
                                          Widgets.fillScreen(0x000000)

                                          BtnA.setCallback(type=BtnA.CB_TYPE.WAS_CLICKED, cb=btnA_wasClicked_event)

                                          ImageSwitchFlag = 0

                                          def loop():
                                          global ImageSwitchFlag
                                          M5.update()

                                          if name == 'main':
                                          try:
                                          setup()
                                          while True:
                                          loop()
                                          except (Exception, KeyboardInterrupt) as e:
                                          try:
                                          from utility import print_error_msg
                                          print_error_msg(e)
                                          except ImportError:
                                          print("please update to latest firmware")******

                                          b442ffec-d9ce-4445-898c-4b8ffc3caa82-image.png

                                          1 Reply Last reply Reply Quote 0
                                          • S Offline
                                            Schwibach
                                            last edited by

                                            I wrote in another thread about my Sync... 0% problem.

                                            I am pretty sure now that it is a bug. I does not matter which program I use. I can run them from UIFlow 2.0. But as soon as I download a program, I will get the Sync... 0%

                                            Also, if I burn firmware without selecting startup, it will not even connect to UIFlow 2.0.

                                            I would really appreciate any guidance you could give.

                                            1 Reply Last reply Reply Quote 0

                                            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
                                            • First post
                                              Last post