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

    UIFLOW does not save python code

    Bug Report
    6
    11
    19.4k
    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.
    • M5StickFreaklerM
      M5StickFreakler
      last edited by

      UIFLOW does not save edited python code (only Blockly).
      If you enter any python code directly in UIFlow and save it then you will be surprised if you load the code later - it is empty!
      Why?
      Just save the code as .py-file would be great.

      1 Reply Last reply Reply Quote 0
      • T
        Thrasher
        last edited by

        Yes, its been so since beginning. We hope it will be implented soon

        1 Reply Last reply Reply Quote 1
        • sysdl132S
          sysdl132
          last edited by

          UIFlow cannot save python code.You can save .py file in visual studio.

          Baudrate for M5 core/Stick/camera:115200/921600
          For M5StickC:115200/230400/750000/1500000
          For M5StickV:115200/921600/1500000
          For Atom:115200/230400/921600

          M5StickFreaklerM 1 Reply Last reply Reply Quote 0
          • world101W
            world101
            last edited by

            The only way to get custom code to save within UIFlow is to...

            • add it to the Execute block (under Advanced)
            • Create your own custom blocks with http://block-maker.m5stack.com/
            1 Reply Last reply Reply Quote 0
            • M5StickFreaklerM
              M5StickFreakler @sysdl132
              last edited by

              @sysdl132 Yes, but it is confusing because I can save it, but nothing is saved :-)

              ajb2k3A 1 Reply Last reply Reply Quote 0
              • sysdl132S
                sysdl132
                last edited by

                If you want to download visual studio,click me

                Baudrate for M5 core/Stick/camera:115200/921600
                For M5StickC:115200/230400/750000/1500000
                For M5StickV:115200/921600/1500000
                For Atom:115200/230400/921600

                M5StickFreaklerM 1 Reply Last reply Reply Quote 1
                • M5StickFreaklerM
                  M5StickFreakler @sysdl132
                  last edited by M5StickFreakler

                  @sysdl132 said in UIFLOW does not save python code:

                  If you want to download visual studio,click me

                  No problem, already installed (I'm a developer). Its just dangerous if someone save a file in UiFlow and then nothing is in it. So maybe m5stack should disable the save button if you are in py-code. :-)

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

                    @m5stickfreakler only the blocks are saved not micropython code. This has been the same since the beginning.

                    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!

                    M5StickFreaklerM 1 Reply Last reply Reply Quote 0
                    • M5StickFreaklerM
                      M5StickFreakler @ajb2k3
                      last edited by M5StickFreakler

                      @ajb2k3 said in UIFLOW does not save python code:

                      @m5stickfreakler only the blocks are saved not micropython code. This has been the same since the beginning.

                      What will you say with that? I know it is not saving micropython code - that's the point!
                      Again: If I have the python code in front of you and then save it, then it is not saved and you don't see that.
                      A good UI does not allow such things.
                      So in my opinion there are two solutions:

                      • It is not possible to use the save function if switched to python code
                      • or it saves a py-file if switched to python code
                      1 Reply Last reply Reply Quote 0
                      • T
                        Thrasher
                        last edited by

                        Just use vs code lol
                        You can run uiflow dual-box to check for m5 libraries code and simply copy strings to vs code

                        1 Reply Last reply Reply Quote 0
                        • F
                          flypeek
                          last edited by

                          Import large MicroPython scripts with UIFlow
                          https://qiita.com/ciniml/items/68bc7f362d6985efc640

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