-
Notifications
You must be signed in to change notification settings - Fork 44
Open
Description
Based on my experience and the implementation, the blocks() function only returns the first block detected, not a list of blocks as described in the readme.
I assume this was done to remove the numbers inserted at the end by processReturnedData() (as they're not in the documented returned data) but has this as a side effect.
HUSKYLENSPython/HUSKYLENS/huskylib.py
Lines 329 to 332 in 268650c
| def blocks(self): | |
| cmd = self.cmdToBytes(commandHeaderAndAddress+"002131") | |
| self.writeToHuskyLens(cmd) | |
| return self.processReturnData()[0] |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels