balanga
Posts: 85
Joined: Sat Aug 23, 2014 6:56 pm

Waiting for a button to be pressed on a PiFace Digital

Sat Feb 17, 2018 11:14 pm

I want to set up an interrupt to wait for a button to be pressed on a PiFace Digital, and have found some code here referring to 'Barrier synchronisation':-

https://media.readthedocs.org/pdf/pifac ... italio.pdf

which provides an example... unfortunately, I don't understand it. Can anyone explain/simplify it?

I basically want to wait until one of the tactile switches is pressed, and when it is to switch on one of the LEDs or switch on one of the relays.

Return to “Beginners”

Who is online

Users browsing this forum: No registered users and 29 guests