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

    multithreading in uiflow

    UIFlow
    2
    2
    5.5k
    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.
    • J
      jpilarski
      last edited by

      I noticed in makecode for circuit playground they offer multithreading in their block programming environment. This enables you can have two separate loop blocks each running an independent set of instructions. I know the esp32 is multithreaded, is this possible in uiflow or might this be a function added to future releases. It makes what would be complicated code really easy to manage.

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

        @jpilarski

        I agree this would be a good feature to have on uiFlow. Specifically, which block are you referring to on Adafruit MakeCode? Is it the "run in parallel" block?
        0_1580328765943_Screen Shot 2020-01-29 at 3.11.52 PM.png

        However, from a MicroPython perspective, multithreading doesn't seem to be complete yet, according to this link. "This module is highly experimental and its API is not yet fully settled and not yet described in this documentation."

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