From UpWiki
Jump to: navigation, search


This is an How-To make the PiFace Digital 2 work with UP board, the support is Partial and allow only to set the exits but you can't read from the inputs. Lollokara has modified the PiFaceCommon library to add initial support for the UP board. Right now, you can get this version and install it by running the following commands on your UP board:

sudo apt-get update
sudo apt-get install -y python3 git
git clone https://github.com/lollokara/PiFace-UPboard.git

use cd to move into the two directories that you just downloaded and in each directory run

sudo python3 setup.py install

Then for testing the code you can use lunching python3:

from time import sleep
import pifacedigitalio

DELAY = 1.0  # seconds

if __name__ == "__main__":
    pifacedigital = pifacedigitalio.PiFaceDigital()
    while True:

Piface Digital IO 2


UP^2 Board

Please follow the instructions on