Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot initialize device #3

Open
homonto opened this issue Jun 1, 2021 · 1 comment
Open

cannot initialize device #3

homonto opened this issue Jun 1, 2021 · 1 comment

Comments

@homonto
Copy link

homonto commented Jun 1, 2021

hi there,
I just connected this display and I am trying to use your library
unfortunately there is an issue
my display is 7 pin from Aliexpres
I connected as following:
VCC, GND
SCL= GPIO 11, PIN 23
SDA=GPIO 10, PIN 19
RESET=GPIO 27, PIN 13
DC=GPIO 25, PIN 22
LED(BACKLIGHT)=GPIO 24, PIN 18

same as in your example: clock_EN.py:
RST = 27
DC = 25
LED = 24

when running the example script always the same error:

$ python3 clock_EN.py Traceback (most recent call last): File "clock_EN.py", line 36, in <module> disp = TFT.ST7789(spi=SPI.SpiDev(SPI_PORT, SPI_DEVICE, max_speed_hz=SPI_SPEED_HZ), File "/usr/local/lib/python3.7/dist-packages/Adafruit_GPIO-1.0.4-py3.7.egg/Adafruit_GPIO/SPI.py", line 46, in __init__ SystemError: error return without exception set

I am not sure how to make it working
the power is there (I can see some backlight on) but nothing else
any help would be appreciated

thx

@whabilly
Copy link

Hello, same issue here. Have you found a fix??? Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants