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

    Convert RFID uid bytearray in HEX String

    UiFlow 2.0
    2
    2
    535
    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
      mascaos
      last edited by

      Surely I'm the one doing something wrong, but I can't find a way to convert bytearray to HEX String to be able to "readably" display the UID of a TAG on the display.

      Through code I just need to add the .hex() method... but I can't find a way to do it through UI Flow 2 and it seems absurd to me!

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

        Hello @mascaos

        you probably know this already - often for things where no native block is available you can use the generic Execute mpy code block as shown in the example in the Project Zone: M5Dial_RFID_as_hex_string_UIFlow2.0.7

        Thanks
        Felix

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

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