0

Cyber Deck + Unicorn Hat Mini?
Moderators: adafruit_support_bill, adafruit

Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/
Please be positive and constructive with your questions and comments.

Cyber Deck + Unicorn Hat Mini?

by Falling on Fri Jun 11, 2021 6:40 pm

Was going over the setup process found here:
https://learn.pimoroni.com/tutorial/hel ... n-hat-mini

did all of the steps, but when i run the demo I get the following error:

Code: Select all | TOGGLE FULL SIZE
pi@raspberrypi:~/Pimoroni/unicornhatmini/examples $ python3 demo.py
Unicorn HAT Mini: demo.py

This pixel shading demo transitions between 4 classic graphics demo effects.

Press Ctrl+C to exit!


Traceback (most recent call last):
  File "demo.py", line 16, in <module>
    unicornhatmini = UnicornHATMini()
  File "/usr/local/lib/python3.7/dist-packages/unicornhatmini/__init__.py", line 45, in __init__
    self.left_matrix = (spidev.SpiDev(0, 0), 8, 0)
FileNotFoundError: [Errno 2] No such file or directory


any Ideas?
Falling
 
Posts: 10
Joined: Mon Nov 05, 2012 2:38 pm

Re: Cyber Deck + Unicorn Hat Mini?

by franklin97355 on Fri Jun 11, 2021 11:48 pm

You might ask with the forum of pimoroni.https://forums.pimoroni.com/

franklin97355
 
Posts: 21950
Joined: Mon Apr 21, 2008 2:33 pm
Location: Lacomb, OR.

Re: Cyber Deck + Unicorn Hat Mini?

by alphanumeric on Sat Jun 12, 2021 6:52 am

Make sure SPI is enabled in Raspberry Pi Configuration Menu. I've got similar "file not found errors' for SPI and i2c when i have neglected to enable them manually.

alphanumeric
 
Posts: 558
Joined: Sun Sep 07, 2014 7:06 pm

Please be positive and constructive with your questions and comments.