PiFace Digital 2 and Raspberry Pi 3

2017-05-12 15:03:06

I have a PiFace Digital 2 and a Rpi 3 with the latest Debian + Pixel. My first question is, is the PiFace digital 2 compatible with the Rpi3. From what I can tell they are.

SPI

Secondly, I can't seem to get the emulator to run. I have turned on SPI and installed following instructions here when running a sample program I get the following:

python3 /usr/share/doc/python3-pifacedigitalio/examples/blink.py

Traceback (most recent call last):

File "/usr/share/doc/python3-pifacedigitalio/examples/blink.py", line 9, in

pifacedigital = pifacedigitalio.PiFaceDigital()

File "/usr/lib/python3/dist-packages/pifacedigitalio/core.py", line 82, in __init__

self.init_board()

File "/usr/lib/python3/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).

Any ideas on how to g