diff --git a/psychopy_bbtk/tpad.py b/psychopy_bbtk/tpad.py index 1612c3a..b08c071 100644 --- a/psychopy_bbtk/tpad.py +++ b/psychopy_bbtk/tpad.py @@ -301,6 +301,8 @@ def __init__(self, *args, **kwargs): class TPad(sd.SerialDevice): + name = "TPad" + def __init__( self, port=None, baudrate=115200, byteSize=8, stopBits=1, @@ -472,7 +474,7 @@ def dispatchMessages(self): message = node.parseMessage(parts) node.receiveMessage(message) else: - logging.debug(f"Received unparsable message from TPad: {line}") + logging.debug(f"Received unparsable message from TPad: {repr(line)}") # mark that a dispatch has finished self._dispatchInProgress = False