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

    How to add External Libraries - UIflow - Micropyton - Websockets

    Scheduled Pinned Locked Moved General
    6 Posts 6 Posters 8.8k Views 1 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.
    • M Offline
      Medy
      last edited by Medy

      Hello I want to use external libraries ... for setting up a websocket connection...

      I have UIflow installed ... and dont know how to import external libraries for the m5stack ... i need a tutorial or smth

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

        Copy the lib.py file to /flash and then use the execute block with import lib in the Setup section of the flow

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

          Hello. I am currently trying to do similar of what @Medy was doing. @world101 how exactly would I do this in the way you stated? Thanks.

          1 Reply Last reply Reply Quote 0
          • P Offline
            pkayme
            last edited by

            Were you able to get websockets working with uiflow?

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

              @pkayme
              You should use microPython to import external libraries

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

              D 1 Reply Last reply Reply Quote 0
              • D Offline
                danber @kuriko
                last edited by

                I would be interested in the opposite way. How can I use the M5 library with the original micropython. "import M5" doesn't work.

                thank you

                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