You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Previously, you could run two SPI displays (I was able to run two 240x240 round displays) at the same time, so long that the CS and BL pins were different.
Now, when attempting to run the gif.py or image.py example with a minor addition to initialize a copy of disp as disp2 with the CS and BL pins changed, I get the following error message:
I've been able to confirm, returning to version 0.0.4 I am able to have both displays use the same DC port. Version 1.0.0 and latest 1.0.1 return the error mentioned above.
It should be reasonable to modify the library to check if dc here is a tuple (lines/offset) and not initialise it. Then init becomes something like (heavily abridged):
Previously, you could run two SPI displays (I was able to run two 240x240 round displays) at the same time, so long that the CS and BL pins were different.
For reference, this was discussed on the forums and this is where I was able to implement it from: https://forums.pimoroni.com/t/two-1-3-spi-colour-lcd-240x240-on-one-pi/16737/8
Now, when attempting to run the
gif.py
orimage.py
example with a minor addition to initialize a copy ofdisp
asdisp2
with the CS and BL pins changed, I get the following error message:It appears that the latest version no longer releases the DC pin after use and therefore the second display cannot be initialized.
Steps:
st7789.__version__
: 1.0.1The text was updated successfully, but these errors were encountered: