If it doesn't work can you please paste the script output here (in code tags). Thanks.KevinA wrote: Doesn't work on Jessie, no longer uses backlist or spi_bcm2708 or modprobe I'm trying to find how to install spidev
No, that would be too slow to see your button presses. You need to think about and understand your code better. Also, use 4 spaces instead of 8 and get rid of redundant code and variables.melona380 wrote: How long of a sleep, would 5-10 sec work? I need to minimize main loop down time.
Yes you have but the overall while loop is still run flat out on the CPU. You need a small time.sleep() in there.melona380 wrote: Note I have changed the code to check every 2 minuets.
The original PiFace board is only 26 pin and they are exactly compatible with the first 26 pins of the new Pi 2.meddyliol wrote:But the stacking header is 26 pin, the new Pi is 40 pin. What am I missing?
My script does that, with everything else that is required. But, of course that only gets enabled after a reboot.DougieLawson wrote: Have you enabled SPI in /boot/config.txt?
Code: Select all
sudo apt-get install python-pip sudo pip install pifaceio sudo install-spidev.sh
It was fixed there a few days ago -dahl wrote:Hope we get an update on pifacecommon that fix this permanent.