pyBusPirateLite
pyBusPirateLite copied to clipboard
I2C does not have read_byte method what I2Chigh uses
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