Please note: Friday June 18 is a holiday celebrating Juneteenth, please allow extra time for your order to arrive and plan accordingly.
0

DisplayIO_SH1107 Error on Raspberry Pi
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

DisplayIO_SH1107 Error on Raspberry Pi

by jhale85446 on Sun May 30, 2021 11:12 am

Hi all,

I am working on upgrading a 3D printer enclosure with some I2C components. However, I am getting the below error when trying to use an SH1107 display (https://www.adafruit.com/product/4650) with my test Raspberry Pi 3B. The most recent versions of Blinka, adafruit_display_text, and adafruit_displayio_sh1107 are installed into a python 3.7 virtual environment on the Pi. The display works fine when connected to a Feather. And, the I2C is wired correctly to the Pi as I have an EMC2101 fan controller piggybacked off of the featherwing's STEMMA QT port, which works without issues in the same virtual environment. As a test for the display, I am using the example code from https://github.com/adafruit/Adafruit_Ci ... pletest.py.

Error message:
Traceback (most recent call last):
File "display_test.py", line 31, in <module>
display = adafruit_displayio_sh1107.SH1107(display_bus, width=WIDTH, height=HEIGHT)
File "/home/pi/git/dutch_enclosure/lib/python3.7/site-packages/adafruit_displayio_sh1107.py", line 124, in __init__
SH1107_addressing=True,
TypeError: __init__() got an unexpected keyword argument 'SH1107_addressing'


Am I missing a dependency or something else?

Any assistance would be much appreciated.

jhale85446
 
Posts: 2
Joined: Mon Mar 22, 2021 1:53 pm

Re: DisplayIO_SH1107 Error on Raspberry Pi

by tannewt on Tue Jun 01, 2021 7:16 pm

My guess is that this is a Blinka bug. The SH1107 requires the internal displayio driver to act in a unique way that the Blinka version must not support yet.

tannewt
 
Posts: 2428
Joined: Thu Oct 06, 2016 8:48 pm

Re: DisplayIO_SH1107 Error on Raspberry Pi

by jhale85446 on Wed Jun 02, 2021 10:10 am

Thanks for the reply. It looks like there are some other options for I2C displays that will work for this project.

jhale85446
 
Posts: 2
Joined: Mon Mar 22, 2021 1:53 pm

Please be positive and constructive with your questions and comments.