M5Dial Rotary questions



  • 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



  • 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



  • It works, thanks a million @felmue !



  • Hello @haeberle

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

    Thanks
    Felix