Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't initialize piface. Defective board? #8

Open
Akmp40 opened this issue Jun 5, 2018 · 2 comments
Open

Can't initialize piface. Defective board? #8

Akmp40 opened this issue Jun 5, 2018 · 2 comments

Comments

@Akmp40
Copy link

Akmp40 commented Jun 5, 2018

I've been trying to troubleshoot this issue for a while now and don't know how to continue troubleshooting this.

I'm using a Raspberry pi 3 B+
My address-jumpers are in the correct position on the PiFace.
I'm using the 0.2.7 librares
Installed Debian packages v0.2.0 for pifaceplus and v4.2.1 for PiFace Common.

When initializing the piface with.
pfr = pifacerelayplus.PiFaceRelayPlus(pifacerelayplus.RELAY)
It can't be found.
pifacerelayplus.core.NoPiFaceRelayPlusDetectedError: No PiFace Relay Plus board detected (hardware_addr=0, bus=0, chip_select=0).

How should i continue troubleshooting this?
Is it defective?

@Akmp40
Copy link
Author

Akmp40 commented Jun 5, 2018

So of course after troubleshooting for a long time it took a couple of minutes to fix it after explaining it here....
I had to manually install the python3 distribution packages for pifacerelayplus and pifacerelay common.
I downloaded the neccesary files from
https://github.com/piface/pifacerelayplus
and
https://github.com/piface/pifacecommon
Building and installing with setup.py i now had the correct distribution packages for python3 and it's now working.

@stissot
Copy link

stissot commented Dec 1, 2018

Thanks !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants