-
Notifications
You must be signed in to change notification settings - Fork 49
Open
Description
Evening folks,
I recently got my hands on a PiFace Digital 2, however, I'm struggling to make my Raspberry detect it.
Following the instructions found on the official page, I started by installing the latest Rasbian Stretch Lite and getting everything up to date:
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
I enabled SPI using raspi-config and downloaded the necessary modules with pip, since they weren't in the repositories anymore:
sudo pip3 install pifacedigitalio
sudo pip3 install pifacecommon
Full of hope, I started a Python3 session and wrote the commands found on this page:
import pifacedigitalio
pfd = pifacedigitalio.PiFaceDigital()
For my efforts however, I was awarded with this error message:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python3.5/dist-packages/pifacedigitalio/core.py", line 82, in __init__self.init_board()
File "/usr/local/lib/python3.5/dist-packages/pifacedigitalio/core.py", line 107, in init_board
h=self.hardware_addr, b=self.bus, c=self.chip_select))pifacedigitalio.core.NoPiFaceDigitalDetectedError: No PiFace Digital board detected (hardware_addr=0, bus=0, chip_select=0).
Thus, I've found a bunch of people with the same problem but no solution. I've double checked everything a few times and made sure SPI is enabled. Any suggestions?
Metadata
Metadata
Assignees
Labels
No labels