02-27-2020, 11:21 AM
(02-27-2020, 10:33 AM)maartin Wrote: Hi Russ,
next level is calling:
PHP Code:pi@moode-pim:~/tft-cover $ python3 cover_7789.py
Traceback (most recent call last):
File "cover_7789.py", line 24, in <module>
spi_speed_hz=80 * 1000 * 1000
File "/usr/local/lib/python3.7/dist-packages/ST7789/__init__.py", line 124, in __init__
self._spi = spidev.SpiDev(port, cs)
FileNotFoundError: [Errno 2] No such file or directory
We are getting closer! Go go go!
AtB
Maartin
I think SPI is not enabled on your pi. Apologies, as I should have put that in the readme.
Code:
SSH into pi
sudo raspi-config
then...
Select “Interfacing Options”
choose “SPI” option and activate
then Select
then Yes
then OK
and the Yes to reboot
And then i hope were real close
Russ