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

    Ui Flow upload made persistent?

    UIFlow
    5
    10
    19.1k
    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.
    • I
      iPodLux
      last edited by

      Thanks for all useful info and support, M5stack are great developing tools.
      Q. Is there any way to make the script uploaded using Ui Flow persistent? every time the module is disconnected form usb or reset the script is gone and had to be uploaded again, how to make it to stay?

      Again for some reasons when in Ui Flow I've tried to copy the script in python (select + copy) but it doesn't work, strange but I've found no way to copy elsewhere to study it later (even if I can modify it within the IDE / online editor)..

      Any help?!

      ajb2k3A 1 Reply Last reply Reply Quote 1
      • ajb2k3A
        ajb2k3 @iPodLux
        last edited by

        @ipodlux said in Ui Flow upload made persistent?:

        Thanks for all useful info and support, M5stack are great developing tools.
        Q. Is there any way to make the script uploaded using Ui Flow persistent? every time the module is disconnected form usb or reset the script is gone and had to be uploaded again, how to make it to stay?

        Again for some reasons when in Ui Flow I've tried to copy the script in python (select + copy) but it doesn't work, strange but I've found no way to copy elsewhere to study it later (even if I can modify it within the IDE / online editor)..

        Any help?!

        The Download button is the setting menu below save perminatly stores it on the m5stack an m5 stick.
        The triangle is just to test the code.
        Sometimes code will fail to work in test but will work when downloaded.

        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!

        I 1 Reply Last reply Reply Quote 1
        • I
          iPodLux @ajb2k3
          last edited by

          @ajb2k3 Fantastic! we should make a permanent help post listing all these tips!

          thank you!!!

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

            Thanks, feel free to start one as I have been struggling with the wording for the tips.

            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!

            I 1 Reply Last reply Reply Quote 0
            • I
              iPodLux @ajb2k3
              last edited by

              @ajb2k3 sure I will

              1 Reply Last reply Reply Quote 1
              • S
                starcrouz
                last edited by starcrouz

                Thanks a lot for the information. Was not easy to guess !
                To help this tip to be found more easily by other users, I propose some keywords for the search :

                • UIflow : how to remember program and launch it at startup
                • how to make UIFlow program persistent / permanent

                Thanks again !

                1 Reply Last reply Reply Quote 0
                • arzamanA
                  arzaman
                  last edited by

                  Is there any way beside loading permanently the code and lunch it at startup to inhibit also the UIflow boot and network scan ?

                  So want just tu run the pure application code without the possibility to connecte to wifi and connect again to the online IDE via API KEY

                  thanks
                  Davide

                  1 Reply Last reply Reply Quote 0
                  • R
                    robalstona
                    last edited by

                    You can upload your python script to memory and run it from the boot.py file. But you have to be very careful with editing it, because it contains all the code responsible for handling uiflow and menus. If you do it skillfully, you could run your code before it loads and runs the rest of the uiflow. And at the end of your program the rest would start as normal at startup. I don't know exactly what you want to get.

                    arzamanA 1 Reply Last reply Reply Quote 0
                    • arzamanA
                      arzaman @robalstona
                      last edited by

                      @robalstona said in Ui Flow upload made persistent?:

                      I don't know exactly what you want to get.

                      Exactly what you describe so run the python script with no UIflow boot
                      Like when you load a sketch vi arduino IDE

                      is there any guide to load directly the python script and how to edit the boot.py?

                      Davide

                      1 Reply Last reply Reply Quote 0
                      • R
                        robalstona
                        last edited by

                        I use uPyCraft to load/write files. There is another graphics editors like Mu or Tonny

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