From 545657704672980fb1b3fd4982856e68008c4924 Mon Sep 17 00:00:00 2001 From: Todd OST Date: Thu, 29 Aug 2024 13:25:52 +0100 Subject: [PATCH] ENH: Report firmware version after connecting --- psychopy_bbtk/tpad.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/psychopy_bbtk/tpad.py b/psychopy_bbtk/tpad.py index 3318d77..1612c3a 100644 --- a/psychopy_bbtk/tpad.py +++ b/psychopy_bbtk/tpad.py @@ -579,9 +579,10 @@ def unlockMode(self): def isAwake(self): self.setMode(0) - # call help and get response + # call FIRM (firmware version) and get response self.sendMessage("FIRM") resp = self.awaitResponse(multiline=True) + logging.debug(f"Connected to TPad device, which reports its firmware version as: {resp}") return bool(resp)