pyBusPirateLite icon indicating copy to clipboard operation
pyBusPirateLite copied to clipboard

I2C does not have read_byte method what I2Chigh uses

Open horror-vacui opened this issue 4 years ago • 0 comments

There is a wrong method call in the I2Chigh class. I2Chigh class not unusable at the moment... :-(

>>> i2c.get_byte(addr_I2Cmux,0)           
Traceback (most recent call last):                                                           
  File "<stdin>", line 1, in <module>                                       
  File "/usr/local/lib/python3.6/dist-packages/pyBusPirateLite/I2Chigh.py", line 53, in get_byte
    r = self.read_byte()
AttributeError: 'I2Chigh' object has no attribute 'read_byte

horror-vacui avatar Jan 13 '20 17:01 horror-vacui