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

    Multiple screens with uiflow

    General
    2
    5
    4.0k
    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.
    • N
      NeoCortex1997
      last edited by

      Hi,
      I need to implement multiple screens/menus with M5Core2, but I don't know how.

      I know that it is possible with micropython, but I don't want to use it. The project needs to be semi cooperative between me and someone that only knows uiflow.

      Btw:
      I will need to enroll the same program on multiple devices, so is there a better way, than connecting the Device to the cloud, entering the api-token and clicking download?
      I won't be able to use the offline version of the IDE.... I implemented most of the screens have been built already for testing and I used the newer web version.

      1 Reply Last reply Reply Quote 0
      • ajb2k3A
        ajb2k3
        last edited by

        UIFlow is Micropython

        UIFlow, so easy an adult can learn it!
        If I don't know it, be patient!
        I've ether not learned it or am too drunk to remember it!
        Author of the WIP UIFlow Handbook!
        M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

        1 Reply Last reply Reply Quote 0
        • N
          NeoCortex1997
          last edited by

          Yes, but...
          Yes, it is!
          But there are no blocks for handling multiple screens - not to my knowledge.
          Since I read multiple similar threads that did not give conclusive answers for me, because I tried the suggested code and it did not work at all for me, made me ask again.

          Do you know if someone made custom blocks for that and if they can be downloaded somewhere?
          Otherwise a working example would be sufficient for me to build my own custom library.

          I did not save links to the threads I already read, but I will try to find them again.

          These are the Threads that I could find without spending alot of time:

          • https://community.m5stack.com/topic/3336/uiflow-the-ability-to-display-multiple-screens-or-cards
          • https://community.m5stack.com/topic/3282/micropython-handling-multiple-screens-on-core2-with-m5screen
          1 Reply Last reply Reply Quote 0
          • ajb2k3A
            ajb2k3
            last edited by

            Create each page as a custom function and call the function using the buttons but make sure each function clears the screen first. I’m not at home but think I did make a guide

            UIFlow, so easy an adult can learn it!
            If I don't know it, be patient!
            I've ether not learned it or am too drunk to remember it!
            Author of the WIP UIFlow Handbook!
            M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

            1 Reply Last reply Reply Quote 0
            • N
              NeoCortex1997
              last edited by

              That seems a little Tedious, but doable.
              I would be really grateful, if you could share this guide with me/us when you return home.
              But I will try it on my own anyways.

              Nonetheless would I appreciate a feature to do this properly in uiflow. I thinks I will open a feature request for that.

              1 Reply Last reply Reply Quote 1
              • First post
                Last post