Closed sniffski closed 2 years ago
Something has gone drastically wrong with your library install, since read_eeprom
does accept an i2c_bus
keyword argument- https://github.com/pimoroni/inky/blob/c5743f9fcfe9c2d6863ceb770895f2cbaa6fc1cd/library/inky/eeprom.py#L121-L133
I've just released a couple of new versions, so maybe a python3 -m pip install inky --upgrade
will fix this.
Something has gone drastically wrong with your library install, since
read_eeprom
does accept ani2c_bus
keyword argument- https://github.com/pimoroni/inky/blob/c5743f9fcfe9c2d6863ceb770895f2cbaa6fc1cd/library/inky/eeprom.py#L121-L133I've just released a couple of new versions, so maybe a
python3 -m pip install inky --upgrade
will fix this.
Looks like you are right! Thanks allot!
:~/inky/examples/7color# ./clear.py Traceback (most recent call last): File "./clear.py", line 7, in
inky = Inky()
File "/usr/local/lib/python3.7/dist-packages/inky-1.2.0-py3.7.egg/inky/inky_uc8159.py", line 137, in init
self.eeprom = eeprom.read_eeprom(i2c_bus=i2c_bus)
TypeError: read_eeprom() got an unexpected keyword argument 'i2c_bus'
:~/inky/examples/7color# ./colour-palette.py Traceback (most recent call last): File "./colour-palette.py", line 17, in
inky = Inky()
File "/usr/local/lib/python3.7/dist-packages/inky-1.2.0-py3.7.egg/inky/inky_uc8159.py", line 137, in init
self.eeprom = eeprom.read_eeprom(i2c_bus=i2c_bus)
TypeError: read_eeprom() got an unexpected keyword argument 'i2c_bus'
None of the examples work for me... :( any ideas?