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

    UiFLOW

    UIFlow
    3
    6
    9.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.
    • K
      Kees1949
      last edited by

      Is it possible to save Python code in UiFLOW?

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

        @kees1949 not directly but you can copy the code and paste it to a file on you computer

        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
        • K
          Kees1949
          last edited by

          Thanks. Your suggestion is what I do actually, when I make some Python changes in Blockly code. It's very complicated to do. Are there any plans for the future to save the Python code directly?

          1 Reply Last reply Reply Quote 0
          • lukasmaximusL
            lukasmaximus
            last edited by

            The .m5f files do actually save the python, if you don't create any blocks just stay on the python side. If you want a more convenient way to program the m5stack in micropython, just use our vscode plugin https://www.youtube.com/watch?v=Y9pOWgsNgKk

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

              @lukasmaximus said in UiFLOW:

              The .m5f files do actually save the python, if you don't create any blocks just stay on the python side. If you want a more convenient way to program the m5stack in micropython, just use our vscode plugin https://www.youtube.com/watch?v=Y9pOWgsNgKk

              That’s good to know, thanks

              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
              • K
                Kees1949
                last edited by

                To be honest: I like programmaning with Blockly. But on the end I have to make some changes in the code with Phyton and that makes it complicated, because I cannot directly save the changes.
                Examples:

                • The network connection to Wifi in a progran written with Blockly is so slow thet I prefer to use the network library in Python.
                • The battery level is not available in Blockly. It is in the machine lib in Python
                • The text "\r\n" in Blockly is wrong translated to Python.
                  In all these cases I have to make changes in the previous created code and I'm not able to save them in a convenient way.
                1 Reply Last reply Reply Quote 1
                • First post
                  Last post