jamesbowman / i2cdriver

I2CDriver open source tools
https://i2cdriver.com/
BSD 3-Clause "New" or "Revised" License
184 stars 57 forks source link

struct.error: unpack requires a buffer of 112 bytes #45

Closed markddavidoff closed 4 years ago

markddavidoff commented 4 years ago
>>> i2cdriver.I2CDriver("/dev/tty.usbserial-DO02C6S9").scan()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python3.7/site-packages/i2cdriver.py", line 188, in scan
    d = struct.unpack("112c", self.ser.read(112))
struct.error: unpack requires a buffer of 112 bytes
markddavidoff commented 4 years ago

can no longer repro /shrug