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

    ENV III Error in UIFlow 2

    Units
    2
    2
    1.4k
    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.
    • G
      guymanuel
      last edited by

      I've been getting this error just from adding the unit and trying to run the program with it initializing:

      Traceback (most recent call last):
      File "<stdin>", line 25, in <module>
      File "<stdin>", line 13, in setup
      TypeError: function takes 4 positional arguments but 2 were given

      This is just from the default init code that is added when you include a unit. Any idea how to fix this?

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

        Have you updated your firmware to the latest version as I just ran a test and have no error here.

        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
        • First post
          Last post