For an old (unported to Py3) project, I need to make it work with Python 2.7. Unfortunately the current versions gives:
TypeError: Non-Int/Long value in arguments: b66c13c8.
File "st.py", line 94, in <module>
disp.display(img)
File "/usr/local/lib/python2.7/dist-packages/ST7789/__init__.py", line 343, in display
self.data(pixelbytes[i:i + 4096])
File "/usr/local/lib/python2.7/dist-packages/ST7789/__init__.py", line 191, in data
self.send(data, True)
File "/usr/local/lib/python2.7/dist-packages/ST7789/__init__.py", line 170, in send
self._spi.xfer(chunk)
TypeError: Non-Int/Long value in arguments: b66c13c8.
Question: what is the last version of st7789-python known working with Python2?
I tried scrolling-test.py on a RPi4 with Python3 and it works.
For an old (unported to Py3) project, I need to make it work with Python 2.7. Unfortunately the current versions gives:
Question: what is the last version of st7789-python known working with Python2?