This is messy right now, but something I think would be nice for the debug prints. str(bytearray(packet)) attempts to convert to ascii, which is a pain for reading. And unfortunately circuitpython doesn't have the bytearray.hex() function (maybe we add that upstream)
This is messy right now, but something I think would be nice for the debug prints.
str(bytearray(packet))
attempts to convert to ascii, which is a pain for reading. And unfortunately circuitpython doesn't have thebytearray.hex()
function (maybe we add that upstream)