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

    M5Piano and Byte arrays.

    UIFlow
    1
    2
    952
    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.
    • ajb2k3A
      ajb2k3
      last edited by ajb2k3

      I'm working on a slight distraction using theM5 Piano (you can blame the Look mum no computer Channel for this) https://www.youtube.com/@LOOKMUMNOCOMPUTER
      While I can retrieve the first byte values that give me a value from 0 to 64 I'm getting confused trying to decrypt 2 or more bytes into use full values.

      Is anyone more intelligent able to solve this?

      in the array =

      b'\x00\x00\x00'

      The first byte gives me the values 0 to 64 but then after that, the first byte remains at x00 and then the second byte changes.

      UIFlow, so easy an adult can learn it!
      If I don't know it, be patient!
      I've ether not learned it or am too drunk to remember it!
      Author of the WIP UIFlow Handbook!
      M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

      1 Reply Last reply Reply Quote 0
      • ajb2k3A
        ajb2k3
        last edited by

        Never mind, I found the missing int from bytes blocks and it works.
        0_1707557009567_Screenshot 2024-02-10 at 09.22.46.png

        UIFlow, so easy an adult can learn it!
        If I don't know it, be patient!
        I've ether not learned it or am too drunk to remember it!
        Author of the WIP UIFlow Handbook!
        M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

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