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

    UIFlow 1.6.1

    Official Updates
    6
    7
    12.0k
    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.
    • m5stackM
      m5stack
      last edited by m5stack

      UpdateLog:

      Ver 1.6.1 time : 2020.07.24

      firmware:

      • Add: V function support color trace..
      • Add: Support NTP time synchronization..
      • Fixed: StickC Plus Wi-Fi reconnect image size change..
      • Fixed: I2C support custom frequency init..
      • Fixed: Modbus slave return data add data length byte..
      • Fixed: V function Target track fix some bug..

      web:

      • Add: V function support color trace..
      • Add: Support NTP time synchronization..
      • Add: Bitwise blocks.
      • Fixed some bugs.
        替代文字
        替代文字
      1 Reply Last reply Reply Quote 0
      • world101W
        world101
        last edited by world101

        Thanks for adding NTP support!


        Edit #1: it seems like NTP isn't working for me on the StickC with a very basic flow...

        0_1595605440771_Screen Shot 2020-07-24 at 11.43.38 AM.png

        The REPL error:

        Traceback (most recent call last):
          File "flow/m5cloud.py", line 76, in _exec_fun
          File "<string>", line 23, in <module>
        NameError: name 'ntptime' isn't dUnhandled eefined
        
        xception in thread started by <bound_method>
        Traceback (most recent call last):
          File "flow/m5cloud.py", line 120, in _msg_deal_task
        AttributeError: 'M5TextBox' object has no attribute 'ticks_ms'
        

        Edit #2 -- workaround:
        I think the Init nttptime with host block needs to call "import ntptime" first. I fixed it by adding an execute block before the init. NTP works now.
        0_1595611150435_Screen Shot 2020-07-24 at 1.18.47 PM.png

        IAMLIUBOI G 2 Replies Last reply Reply Quote 0
        • L
          LordInchcape
          last edited by

          Hi,
          I am having a problem getting the NCIR MLX90614 to work. I noticed that Ver 1.6.1 includes a fix to I2C so was hopeful this might fix it. However I now get:-
          "NCIR unit maybe not connect".
          My test program is:-
          0_1595952709045_32a71694-146a-4b6d-9eb4-a16f759f8ffa-image.png

          IAMLIUBOI 1 Reply Last reply Reply Quote 0
          • IAMLIUBOI
            IAMLIUBO @world101
            last edited by

            Hi @world101 ,
            Thanks for report!We found the bug and will fix it ASAP.

            Have a nice day.

            1 Reply Last reply Reply Quote 0
            • IAMLIUBOI
              IAMLIUBO @LordInchcape
              last edited by

              @lordinchcape said in UIFlow 1.6.1:

              Hi,
              I am having a problem getting the NCIR MLX90614 to work. I noticed that Ver 1.6.1 includes a fix to I2C so was hopeful this might fix it. However I now get:-
              "NCIR unit maybe not connect".
              My test program is:-
              0_1595952709045_32a71694-146a-4b6d-9eb4-a16f759f8ffa-image.png

              Hi @LordInchcape ,
              Which device do you use?I test Core/Fire/StickC/StickC-Plus/Atom-lite/Atom-Matrix with NCIR unit works well(V1.6.1).
              Maybe you should check the NCIR link port.It should be linked to port A.

              Actually we find a bug with NCIR hat,we will fix it at next version.

              Have a nice day.

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

                Servos hat
                Can we get a block to control the servo with a number/variable instead of the drop down box please?

                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
                • G
                  Gaviota @world101
                  last edited by

                  @world101
                  Sorry this doesn't work, i get the error "local variable referenced before assingment"

                  Then running the ntptime on M5Stack fire with the work around and without the work around to get detailed error messages

                  Pressing the detail button shows the error:
                  File "<string>", line 18, in <module>
                  File "ntptime.py", line 17, in init
                  File "ntptime.py", line 48, in updateTime
                  File "ntptime.py", line 35, in getTimestamp
                  NameError: local variable referenced before assingment

                  A lot of nice M5Stack stuff :) ....

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