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

    Create new unit from existing unit?

    UIFlow
    3
    5
    3.8k
    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.
    • B
      bluebulldog
      last edited by

      How would I go about creating a new unit from an existing one?

      I would like a new unit that is similar to the RGB unit. The new unit will be an RGBW unit, and allow different color orders. Where is the RGB unit code and how would I go about making a copy, changing the copy, and have the new unit appear in UIFlow?

      1 Reply Last reply Reply Quote 0
      • felmueF
        felmue
        last edited by

        Hello @bluebulldog

        AFAIK UIFlow source code is not available as open source, so I am afraid you'll need to start from scratch.

        Thanks
        Felix

        GPIO translation table M5Stack / M5Core2
        Information about various M5Stack products.
        Code examples

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

          You would need to create a new Micropython Library, copy it to the controller and then call it in code.
          If you wanted visuals blocks then you would also need to code the new blocks using the custom blocks manager.

          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!

          B 1 Reply Last reply Reply Quote 0
          • B
            bluebulldog @felmue
            last edited by

            @felmue Thank you.

            1 Reply Last reply Reply Quote 0
            • B
              bluebulldog @ajb2k3
              last edited by

              @ajb2k3 Thank you.

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