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

    M5Dial Rotary questions

    UiFlow 2.0
    2
    4
    1.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.
    • H
      haeberle
      last edited by

      Dears

      Want to use the rotary wheel from the M5Dial in UIFlow, but it fails.
      I assumed the Rotary hardware ist needed.

      What I did so far is, I added the Rotary Hardware to my project as in the picture below.

      0_1702939250457_9cf356f4-b86c-43d0-9fd6-920be5b703e6-image.png

      During execution I've got the error "AttributeError: 'Rotary' object has no attribute 'reset_rotary_value'". Looks the way I'm using ist is not the right one.

      Any ideas ?
      Kind regards

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

        Hello @haeberle

        you are not doing anything wrong. The M5Dial UIFlow2 alpha-28 firmware has a typo for this two commands. In both cases value has been misspelled as vlaue.

        @M5Stack : please fix. See PR. Thank you.

        Try using below commands in an Execute code block instead.

        0_1702942739578_UI2_M5Dial_Rotary_20231219.png

        Thanks
        Felix

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

        1 Reply Last reply Reply Quote 0
        • H
          haeberle
          last edited by haeberle

          It works, thanks a million @felmue !

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

            Hello @haeberle

            good news. My PR has been merged - the two blocks (reset/set) now work in UIFlow2 alpha-29.

            Thanks
            Felix

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

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