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

    Timer Callback for uiflow2?

    UiFlow 2.0
    2
    5
    965
    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
      markram14
      last edited by

      this is the only thing holding me back from switching to uiflow2, because uiflow has software and hardware timer callback.
      most of the time i just update ui in one timer function, get sensor values in another, and do other stuff in another timer. i know you could do this in one loop by checking system time, but it is much easier to just use timer callback
      why is this not in uiflow2? or is it there but i just cant find it?

      robskiR 1 Reply Last reply Reply Quote 0
      • robskiR
        robski @markram14
        last edited by

        @markram14 said in Timer Callback for uiflow2?:

        this is the only thing holding me back from switching to uiflow2, because uiflow has software and hardware timer callback.
        most of the time i just update ui in one timer function, get sensor values in another, and do other stuff in another timer. i know you could do this in one loop by checking system time, but it is much easier to just use timer callback
        why is this not in uiflow2? or is it there but i just cant find it?

        is timer module have to be added by hardware/software conteroller options?

        M5StickC, M5StickCPlus, M5StickCplus2,M5GO, M5Core, M5Tough, M5Core2, M5 Demo Board, M5Dial, M5Paper, M5Atom, M5Cardputer, M5StampS3, CoreMP135, StamPLC, AirQ

        M 1 Reply Last reply Reply Quote 0
        • M
          markram14 @robski
          last edited by

          @robski no.
          in uiflow its in event category
          cde04eb5-57e6-40e5-af25-b530ad3463a7-image.png

          but i cant find it in uiflow2

          robskiR 1 Reply Last reply Reply Quote 0
          • robskiR
            robski @markram14
            last edited by

            @markram14 timer0.JPG

            M5StickC, M5StickCPlus, M5StickCplus2,M5GO, M5Core, M5Tough, M5Core2, M5 Demo Board, M5Dial, M5Paper, M5Atom, M5Cardputer, M5StampS3, CoreMP135, StamPLC, AirQ

            M 1 Reply Last reply Reply Quote 2
            • M
              markram14 @robski
              last edited by

              @robski i see. great! thanks for the info!

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