M5Piano and Byte arrays.



  • 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.



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