🤖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

    General
    6
    6
    6.3k
    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
      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
        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
          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
            pkayme
            last edited by

            Were you able to get websockets working with uiflow?

            kurikoK 1 Reply Last reply Reply Quote 0
            • kurikoK
              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
                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
                • First post
                  Last post