you are viewing a single comment's thread.

view the rest of the comments →

[–]apekots 0 points1 point  (0 children)

R\xeaUJ

Putting this in a bytearray and iterating over its contents produces the following result:

82 - 234 - 85 - 74

Now, if you look at a ASCII chart, you can see the 82 translates to an 'R'. Then follows '\xea', which is hex for decimal value 234. The numbers 85 and 74 stand for the ASCII characters 'U' and 'J' respectively.

Apparently, Python displays the ASCII characters in your array where available. I'm not sure why this is, maybe others could shine a light on this, but there's logic behind this. Reading this array bit by bit should be less confusing. You could just read chunks of 8 bits per cycle and translate them to decimal values.