I ran into a particularly weird case where my chip was in a bad state. In my attempt to debug, I noticed that the status being set by the line:
|
self._status_last = self._transceive(bytes([_CMD_RT])) |
aka
self._status_last = self._transceive(bytes([_CMD_RT])). was slightly wrong and if I attempted to call the
display_status I would get a type error.
I made a local change to address this:
data = self._transceive(bytes([_CMD_RT]))
self._status_last = data[0]
I am happy to make a PR to address this minor corner case and support the library if you would like.