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

    M5Dial Rotary questions

    Scheduled Pinned Locked Moved UiFlow 2.0
    4 Posts 2 Posters 2.5k Views 1 Watching
    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 Offline
      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 Offline
        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 Offline
          haeberle
          last edited by haeberle

          It works, thanks a million @felmue !

          1 Reply Last reply Reply Quote 0
          • felmueF Offline
            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

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            • First post
              Last post