Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Idea: Pirate Audio 240x240 cover display
#11
(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 24in <module>
 
   spi_speed_hz=80 1000 1000
  File 
"/usr/local/lib/python3.7/dist-packages/ST7789/__init__.py"line 124in __init__
    self
._spi spidev.SpiDev(portcs)
FileNotFoundError: [Errno 2No 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
Reply


Messages In This Thread
Pirate Audio 240x240 cover display - by bobr80 - 01-11-2020, 07:59 PM
RE: Pirate Audio 240x240 cover display - by leobo - 04-12-2021, 06:26 PM

Forum Jump: